diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-03-02 17:08:46 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-03-02 17:08:46 -0500 |
commit | 26c031c125cac88eb830a835ba52a1bc97bbf3df (patch) | |
tree | 7e66b449eb73b16934954f68e2b20de4942c0eb5 /cloud-init.py | |
parent | 44cd0ff6c3f55119c8de68f399725ab4947afc17 (diff) | |
download | vyos-cloud-init-26c031c125cac88eb830a835ba52a1bc97bbf3df.tar.gz vyos-cloud-init-26c031c125cac88eb830a835ba52a1bc97bbf3df.zip |
fix bug preventing early exit of cloud-init on 'no-net' path
Diffstat (limited to 'cloud-init.py')
-rwxr-xr-x | cloud-init.py | 2 |
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 |