Loading cloudcontrol/node/hypervisor/__init__.py +2 −2 Original line number Diff line number Diff line Loading @@ -262,11 +262,11 @@ class Handler(HostHandler): if name in self.hypervisor.domains: if mac_address is None: rcode, output = execute(self.main, [self.main.config.vlan_script, name, vlan_update_format]) name, '--', vlan_update_format]) else: rcode, output = execute(self.main, [self.main.config.vlan_script, '--iface-macaddr', mac_address, name, vlan_update_format]) name, '--', vlan_update_format]) if rcode != 0: raise RuntimeError(output.strip().split('\n')[-1].strip()) else: Loading Loading
cloudcontrol/node/hypervisor/__init__.py +2 −2 Original line number Diff line number Diff line Loading @@ -262,11 +262,11 @@ class Handler(HostHandler): if name in self.hypervisor.domains: if mac_address is None: rcode, output = execute(self.main, [self.main.config.vlan_script, name, vlan_update_format]) name, '--', vlan_update_format]) else: rcode, output = execute(self.main, [self.main.config.vlan_script, '--iface-macaddr', mac_address, name, vlan_update_format]) name, '--', vlan_update_format]) if rcode != 0: raise RuntimeError(output.strip().split('\n')[-1].strip()) else: Loading