summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_bootcmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig/cc_bootcmd.py')
-rw-r--r--cloudinit/CloudConfig/cc_bootcmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/CloudConfig/cc_bootcmd.py b/cloudinit/CloudConfig/cc_bootcmd.py
index fc925447..47778897 100644
--- a/cloudinit/CloudConfig/cc_bootcmd.py
+++ b/cloudinit/CloudConfig/cc_bootcmd.py
@@ -35,8 +35,8 @@ def handle(_name,cfg,cloud,log,_args):
raise
try:
- env=os.environ.copy()
- env['INSTANCE_ID']=cloud.get_instance_id()
+ env = os.environ.copy()
+ env['INSTANCE_ID'] = cloud.get_instance_id()
subprocess.check_call(['/bin/sh'], env=env, stdin=tmpf)
tmpf.close()
except: