diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-09-12 15:38:56 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-09-12 15:38:56 -0400 |
commit | 8eb2f6ea588775d3ddd55a62630cab310497190e (patch) | |
tree | 7f0f9fd13f91b98b1c869dce28483b5544187eea /upstart | |
parent | b09b12bc0130b6787bfee0332addd055459b9629 (diff) | |
download | vyos-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.conf | 2 |
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" |