Merge pull request #20328 from bbinet/fix-allow-hotplug

Fix support for allow-hotplug in debian_ip network module
This commit is contained in:
Thomas S Hatch 2015-02-03 06:19:22 -07:00
commit c364b99441

View File

@ -1165,6 +1165,9 @@ def _parse_settings_eth(opts, iface_type, enabled, iface):
if enabled:
adapters[iface]['enabled'] = True
if opts.get('hotplug', False):
adapters[iface]['hotplug'] = True
iface_data['inet']['addrfam'] = 'inet'
if iface_type not in ['bridge']: