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:
parent
92041b5a33
commit
cf1b83e3e5
|
@ -7,9 +7,8 @@ description "Run glean to configure network interfaces"
|
||||||
# for debuggability of cloud images that wind up not booting
|
# for debuggability of cloud images that wind up not booting
|
||||||
console output
|
console output
|
||||||
|
|
||||||
start on local-filesystems and starting network-interface
|
start on starting networking
|
||||||
instance $INTERFACE
|
|
||||||
|
|
||||||
task
|
task
|
||||||
|
|
||||||
exec /usr/local/bin/glean.sh $INTERFACE
|
exec /usr/local/bin/glean.sh
|
||||||
|
|
Loading…
Reference in New Issue