From 754dd058c084f4f13f039de12d230bebdae6a990 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Thu, 23 Jul 2015 13:03:53 +0200 Subject: [PATCH] debian: properly configure interfaces interfaces are not configured at all because specific interface files are created but not sourced. This will result in the VMs running with the loopback interface only This is a regression, the problem was already fixed in the past, see commit b822581d88d5f9ec2080cb2eb6a07851f3b95e73 Change-Id: I846642772ab582d7567e5182c860cfa0fe882a15 --- elements/debootstrap/install.d/10-debian-networking | 1 + 1 file changed, 1 insertion(+) diff --git a/elements/debootstrap/install.d/10-debian-networking b/elements/debootstrap/install.d/10-debian-networking index f8566567..7e85cbe5 100755 --- a/elements/debootstrap/install.d/10-debian-networking +++ b/elements/debootstrap/install.d/10-debian-networking @@ -26,6 +26,7 @@ echo $DISTRO_NAME > /etc/hostname # cloud images expect eth0 and eth1 to use dhcp. mkdir -p /etc/network/interfaces.d +echo "source /etc/network/interfaces.d/*" >> /etc/network/interfaces for interface in eth0 eth1; do cat << EOF | tee /etc/network/interfaces.d/$interface auto $interface