From: Dietmar Maurer Date: Sat, 31 Oct 2015 16:16:53 +0000 (+0100) Subject: do not write /etc/network/interfaces for ubuntu wily X-Git-Url: https://git.proxmox.com/?p=dab.git;a=commitdiff_plain;h=ae2443bc831e8baa837bac2031dd8a55b1488744 do not write /etc/network/interfaces for ubuntu wily --- diff --git a/DAB.pm b/DAB.pm index e02cf10..dd72970 100644 --- a/DAB.pm +++ b/DAB.pm @@ -1229,8 +1229,12 @@ sub bootstrap { # avoid warnings about non-existent resolv.conf write_file ("", "$rootdir/etc/resolv.conf", 0644); - $data = "auto lo\niface lo inet loopback\n"; - write_file ($data, "$rootdir/etc/network/interfaces", 0644); + if ($suite eq 'wily') { + # no need to configure loopback device + } else { + $data = "auto lo\niface lo inet loopback\n"; + write_file ($data, "$rootdir/etc/network/interfaces", 0644); + } # setup devices $self->run_command ("tar xzf '$devicetar' -C '$rootdir'");