summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-03-02 17:08:46 -0500
committerScott Moser <smoser@ubuntu.com>2011-03-02 17:08:46 -0500
commit26c031c125cac88eb830a835ba52a1bc97bbf3df (patch)
tree7e66b449eb73b16934954f68e2b20de4942c0eb5
parent44cd0ff6c3f55119c8de68f399725ab4947afc17 (diff)
downloadvyos-cloud-init-26c031c125cac88eb830a835ba52a1bc97bbf3df.tar.gz
vyos-cloud-init-26c031c125cac88eb830a835ba52a1bc97bbf3df.zip
fix bug preventing early exit of cloud-init on 'no-net' path
-rwxr-xr-xcloud-init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud-init.py b/cloud-init.py
index 3c9df13e..ee08c191 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -93,7 +93,7 @@ def main():
# most sense to exit early and silently
for f in stop_files:
try:
- fp = open("/var/lib/cloud/instance/obj.pkl","r")
+ fp = open(f,"r")
fp.close()
except:
continue