diff options
Diffstat (limited to 'cloudinit/transforms/cc_chef.py')
-rw-r--r-- | cloudinit/transforms/cc_chef.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/transforms/cc_chef.py b/cloudinit/transforms/cc_chef.py index 473e5f8b..31bfb85f 100644 --- a/cloudinit/transforms/cc_chef.py +++ b/cloudinit/transforms/cc_chef.py @@ -69,7 +69,7 @@ def handle(name, cfg, cloud, log, _args): initial_json['run_list'] = chef_cfg['run_list'] if 'initial_attributes' in chef_cfg: initial_attributes = chef_cfg['initial_attributes'] - for k in initial_attributes.keys(): + for k in list(initial_attributes.keys()): initial_json[k] = initial_attributes[k] util.write_file('/etc/chef/firstboot.json', json.dumps(initial_json)) |