dduportal / boot2docker-vagrant-box

Packer scripts to build a Vagrant-compatible boot2docker box.
85 stars 32 forks source link

Implement an option for disabling private network #39

Closed dduportal closed 9 years ago

dduportal commented 9 years ago

Signed-off-by: Damien DUPORTAL damien.duportal@gmail.com

Tests are OK, even the new one (implemented in TDD mode : red, green)

1..16
ok 1 We can vagrant up the VM with basic settings
ok 2 Vagrant can ssh to the VM
ok 3 Default ssh user has sudoers rights
ok 4 Docker client exists in the remote VM
ok 5 Docker is working inside the remote VM 
ok 6 Docker is version DOCKER_TARGET_VERSION=1.8.2
ok 7 My bootlocal.sh script, should have been run at boot
ok 8 We can reboot the VM properly
ok 9 Rsync is installed inside the b2d
ok 10 The NFS client is started inside the VM
ok 11 We have a default synced folder thru vboxsf instead of NFS
Password:
ok 12 We have a NFS synced folder if B2D_NFS_SYNC is set (admin password required, will fail on Windows)
ok 13 We can disable the private network if B2D_DISABLE_PRIVATE_NETWORK is set
ok 14 We can share folder thru rsync
ok 15 I can stop the VM
ok 16 I can destroy and clean the VM
dduportal commented 9 years ago

This PR address this issue : https://github.com/dduportal/boot2docker-vagrant-box/issues/31