summaryrefslogtreecommitdiff
path: root/cloud-init.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud-init.py')
-rwxr-xr-xcloud-init.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cloud-init.py b/cloud-init.py
index 1db2ea60..c92f07cd 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -26,6 +26,9 @@ def warn(str):
sys.stderr.write(str)
def main():
+ # cache is not instance specific, so it has to be purged
+ cloudinit.purge_cache()
+
cloud = cloudinit.CloudInit()
try: