inet not init

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2014-01-11 22:45:38 +01:00
parent 11ba4640b4
commit e7ad8f9298
2 changed files with 5 additions and 1 deletions

View file

@ -56,7 +56,7 @@ iface lo inet loopback
# The primary network interface # The primary network interface
auto eth0 auto eth0
allow-hotplug eth0 allow-hotplug eth0
iface eth0 init dhcp iface eth0 inet dhcp
eof eof
""" """

View file

@ -41,6 +41,10 @@
- add unit tests - add unit tests
- testing with qemu
[22:43] bento:vm-tests% qemu-system-x86_64 -m 2G -boot order=cn -drive file=testhd1,if=virtio -net nic -net user,tftp=$(pwd -P)/tftp,bootfile=/pxelinux.0,hostfwd=tcp::7777-:22 -enable-kvm
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
[1:16] bento:~% sudo cdist preos -vc ~nico/preos-tests/preos03 [1:16] bento:~% sudo cdist preos -vc ~nico/preos-tests/preos03