diff options
author | Scott Moser <smoser@brickies.net> | 2012-10-23 15:56:29 +0200 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2012-10-23 15:56:29 +0200 |
commit | 43d46a36bd3c626317aa13aca15f0a0c639777b5 (patch) | |
tree | 554fe5cd8393cda3cb132e62f440fde63652867b /cloudinit | |
parent | 0421d502e903f3c3ece767be57df7c27323241a0 (diff) | |
parent | e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1 (diff) | |
download | vyos-cloud-init-43d46a36bd3c626317aa13aca15f0a0c639777b5.tar.gz vyos-cloud-init-43d46a36bd3c626317aa13aca15f0a0c639777b5.zip |
multipart or cloud-config-archive, do not fail on unknown headers
LP: #1065116
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/user_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/user_data.py b/cloudinit/user_data.py index 803ffc3a..58827e3d 100644 --- a/cloudinit/user_data.py +++ b/cloudinit/user_data.py @@ -224,7 +224,7 @@ class UserDataProcessor(object): for header in list(ent.keys()): if header in ('content', 'filename', 'type', 'launch-index'): continue - msg.add_header(header, ent['header']) + msg.add_header(header, ent[header]) self._attach_part(append_msg, msg) |