da65ce3c26
When something goes wrong, you usually can't boot the image. nova console-log is usually available though. Change-Id: Ie4525d0c3ee8b59f035544592b30f0635aba1811
15 lines
479 B
Text
15 lines
479 B
Text
# Call a script to generate a /etc/network/interfaces file to DHCP all available interfaces
|
|
# Then remove this config file so the script is never run again
|
|
|
|
description "Run glean to configure network interfaces"
|
|
|
|
# console output connects stdout/stderr to the console log. This is important
|
|
# for debuggability of cloud images that wind up not booting
|
|
console output
|
|
|
|
start on starting network-interface
|
|
instance $INTERFACE
|
|
|
|
task
|
|
|
|
exec /usr/local/sbin/simple-init.sh $INTERFACE
|