commit | 9449af14d7947f13a3357d204d3dc858c0c629f5 | [log] [tgz] |
---|---|---|
author | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Tue Apr 11 14:01:30 2017 +0200 |
committer | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Tue Apr 11 14:01:30 2017 +0200 |
tree | 88ff0eaf9afe7f753765479999f991b8670667f8 | |
parent | f506220de9adf87153f039c59dc1f5eb412db427 [diff] |
Force is unharmfull in adding. In update is needed. Adding it.
diff --git a/_modules/maas.py b/_modules/maas.py index 3aa4e72..f881903 100644 --- a/_modules/maas.py +++ b/_modules/maas.py
@@ -412,8 +412,7 @@ } if 'default_gateway' in interface: data['default_gateway'] = interface.get('gateway') - if self._update: - data['force'] = '1' + data['force'] = '1' data['system_id'] = str(machine['system_id']) data['interface_id'] = str(machine['interface_set'][0]['id']) return data