summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-09-12 15:38:56 -0400
committerScott Moser <smoser@ubuntu.com>2014-09-12 15:38:56 -0400
commit8eb2f6ea588775d3ddd55a62630cab310497190e (patch)
tree7f0f9fd13f91b98b1c869dce28483b5544187eea /upstart
parentb09b12bc0130b6787bfee0332addd055459b9629 (diff)
downloadvyos-cloud-init-8eb2f6ea588775d3ddd55a62630cab310497190e.tar.gz
vyos-cloud-init-8eb2f6ea588775d3ddd55a62630cab310497190e.zip
allow local disabling of blocknet
Diffstat (limited to 'upstart')
-rw-r--r--upstart/cloud-init-blocknet.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/upstart/cloud-init-blocknet.conf b/upstart/cloud-init-blocknet.conf
index 82d5ffbc..dd4f1798 100644
--- a/upstart/cloud-init-blocknet.conf
+++ b/upstart/cloud-init-blocknet.conf
@@ -75,7 +75,9 @@ script
# local-finished cloud-init-local success or failure
lfin="/run/cloud-init/local-finished"
+ disable="/etc/cloud/no-blocknet"
[ -f "$lfin" ] && { msg "$lfin found"; exit 0; }
+ [ -f "$disable" ] && { msg "$disable found"; exit 0; }
dowait 120
msg "gave up waiting for $lfin"