Revision ebe70850
b/lib/cmdlib/instance.py | ||
---|---|---|
3175 | 3175 |
self.cfg.ReleaseIp(net, ip, self.proc.GetECId()) |
3176 | 3176 |
|
3177 | 3177 |
# Verify NIC changes (operating on copy) |
3178 |
nics = self.instance.nics[:]
|
|
3178 |
nics = [nic.Copy() for nic in self.instance.nics]
|
|
3179 | 3179 |
_ApplyContainerMods("NIC", nics, None, self.nicmod, |
3180 | 3180 |
_PrepareNicCreate, _PrepareNicMod, _PrepareNicRemove) |
3181 | 3181 |
if len(nics) > constants.MAX_NICS: |
Also available in: Unified diff