From cf1b83e3e5a1327cd0083dc141d955e4b51e410d Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 1 Dec 2015 20:56:38 +0100 Subject: [PATCH] Run glean after networking service Rather than running glean on a per-interface basis, just run glean for all devices right before the 'networking' script runs. This creates configuration files for all interfaces, with the info provided by the config drive and fallback to dhcp for those not in there. With the current code, glean was not creating configuration files for all interfaces probably due to a race with the network-interface event. Change-Id: I0885e9931111708a9861021d50324eb712a98de0 --- glean/init/glean.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/glean/init/glean.conf b/glean/init/glean.conf index a50d668..3558415 100644 --- a/glean/init/glean.conf +++ b/glean/init/glean.conf @@ -7,9 +7,8 @@ description "Run glean to configure network interfaces" # for debuggability of cloud images that wind up not booting console output -start on local-filesystems and starting network-interface -instance $INTERFACE +start on starting networking task -exec /usr/local/bin/glean.sh $INTERFACE +exec /usr/local/bin/glean.sh