commit | 32677bf1b77266252d729275cfb6252a27b0df76 | [log] [tgz] |
---|---|---|
author | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Thu Apr 13 11:04:25 2017 +0200 |
committer | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Thu Apr 13 11:04:25 2017 +0200 |
tree | 71555a5797341a2876265d0091e286485ff2af6c | |
parent | 199d5af6d9581b26ee18b5e611ebccf158bd90b2 [diff] |
Fix bug os instead of distro_series
diff --git a/_modules/maas.py b/_modules/maas.py index 7937864..0c027ef 100644 --- a/_modules/maas.py +++ b/_modules/maas.py
@@ -437,7 +437,7 @@ data = { 'system_id': machine['system_id'], } - if 'os' in machine_data: + if 'distro_series' in machine_data: data['distro_series'] = machine_data['distro_series'] if 'hwe_kernel' in machine_data: data['hwe_kernel'] = machine_data['hwe_kernel']