diff --git a/1-network-namespace/Makefile b/1-network-namespace/Makefile index 435cc61..6d3a1bd 100644 --- a/1-network-namespace/Makefile +++ b/1-network-namespace/Makefile @@ -2,19 +2,19 @@ all: setup test teardown setup: rm -rf setup.complete - vagrant ssh container-networking -c 'cd /vagrant ; ./setup.sh > setup.log ; touch setup.complete' & + vagrant ssh 1-network-namespace -c 'cd /vagrant ; ./setup.sh > setup.log ; touch setup.complete' & until [ -f setup.complete ]; do sleep 1; done test: - vagrant ssh container-networking -c 'cd /vagrant ; ./test.sh' + vagrant ssh 1-network-namespace -c 'cd /vagrant ; ./test.sh' teardown: rm -rf teardown.complete - -vagrant ssh container-networking -c 'cd /vagrant ; ./teardown.sh > teardown.log ; touch teardown.complete' & + -vagrant ssh 1-network-namespace -c 'cd /vagrant ; ./teardown.sh > teardown.log ; touch teardown.complete' & until [ -f teardown.complete ]; do sleep 1; done clean: rm -rf *.log *.complete ssh: - vagrant ssh container-networking + vagrant ssh 1-network-namespace diff --git a/1-network-namespace/Vagrantfile b/1-network-namespace/Vagrantfile index e1b15bc..d3f058a 100755 --- a/1-network-namespace/Vagrantfile +++ b/1-network-namespace/Vagrantfile @@ -3,15 +3,16 @@ $script = <