From 4a751ba1626f1c3da333c47a120b8422af8b25f8 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 3 Oct 2013 16:00:19 -0700 Subject: [PATCH] Generate interfaces file before cloud-init runs Cloud-init needs to query the metadata server after the network interfaces are configured. The upstart job "cloud-init-nonet" is specifically in place to provide a hook to block cloud-init from running while we rearrange network interface configurations. Fixes bug #1233577 Change-Id: Ib5cf75d858fdb670b2abcc082e912c4644d6b169 --- elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.conf b/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.conf index 54724c89c..a459aa97f 100644 --- a/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.conf +++ b/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.conf @@ -3,7 +3,7 @@ description "DHCP any connected, but unconfigured network interfaces" -start on starting network-interface +start on starting cloud-init-nonet task