summaryrefslogtreecommitdiff
path: root/upstart/cloud-init-nonet.conf
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-08-01 14:32:59 -0400
committerScott Moser <smoser@ubuntu.com>2011-08-01 14:32:59 -0400
commitfb0150dd71bf54bd46e30efab62dbb2f6eca2ba2 (patch)
treed557217a6c0429d66ee237e75787e75db74472e4 /upstart/cloud-init-nonet.conf
parent10edc78d777cadb2cd871776622e6a775ef8f8a2 (diff)
downloadvyos-cloud-init-fb0150dd71bf54bd46e30efab62dbb2f6eca2ba2.tar.gz
vyos-cloud-init-fb0150dd71bf54bd46e30efab62dbb2f6eca2ba2.zip
avoid a race condition if there were multiple networking devices
LP: #810044
Diffstat (limited to 'upstart/cloud-init-nonet.conf')
-rw-r--r--upstart/cloud-init-nonet.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/upstart/cloud-init-nonet.conf b/upstart/cloud-init-nonet.conf
index 60f83a32..9a47b105 100644
--- a/upstart/cloud-init-nonet.conf
+++ b/upstart/cloud-init-nonet.conf
@@ -3,7 +3,7 @@
# * to block running of cloud-init until a non 'lo' interface is up
# * timeout if one doens't come up in a reasonable amount of time
start on mounted MOUNTPOINT=/ and stopped cloud-init-local
-stop on net-device-up IFACE!=lo
+stop on static-network-up
task
console output