+-------+ +- VirtualBox ---------+
| | | +- QEMU -+ |
| Local | -> | Ubuntu -> | ARM | |
| | | | Ubuntu | |
+-------+ | +--------+ |
+----------------------+
$ vagrant up$ vagrant ssh
$ ~/sync/qemu.shor after SSH is configured,
$ ssh -F .ssh_config default '~/sync/qemu.sh'or
$ make qemuWait until Cloud-init v. X.Y.Z finished at ... appers.
You cannot login with username and password.
On another local terminal,
$ vagrant ssh
$ ssh -p 2222 vagrant@localhostor after SSH is configured,
$ vagrant ssh
$ ssh armor
$ ssh -F .ssh_config armAfter starting QEMU, on local terminal,
$ ./setup_ssh.shAfter first login to ARM Ubuntu, execute ~/sync/arm_provision.sh to provision.
Then please logout and login back.
A command
$ make arm-sync... synchonizes sync directory between local environment and ARM Ubuntu on QEMU.
This way is tentative. The sharing will be automated in the future.