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
This commit is contained in:
Ricardo Carrillo Cruz 2015-12-01 20:56:38 +01:00
parent 92041b5a33
commit cf1b83e3e5
1 changed files with 2 additions and 3 deletions

View File

@ -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