]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
Fix eth0 to come up automatically
authorLars Wirzenius <liw@liw.fi>
Sun, 14 Jul 2013 16:04:06 +0000 (17:04 +0100)
committerLars Wirzenius <liw@liw.fi>
Sun, 14 Jul 2013 16:04:06 +0000 (17:04 +0100)
Thank you, Antonio Terceiro.

vmdebootstrap

index 73274144b246cb1675a3ac1f7bb387f2bd5dc0a5..a7a67e10bff214c9a06ceb2eba2b92a340ac188d 100755 (executable)
@@ -310,7 +310,7 @@ class VmDebootstrap(cliapp.Application):
         
         if self.settings['enable-dhcp']:
             f.write('\n')
-            f.write('allow-hotplug eth0\n')
+            f.write('auto eth0\n')
             f.write('iface eth0 inet dhcp\n')
             
         f.close()