Merge pull request #13444 from bbinet/debian-network-hotplug

Fix support for allow-hotplug statement in debian_ip network module
This commit is contained in:
Thomas S Hatch 2014-06-13 10:05:55 -06:00
commit 85ab064398

View File

@ -907,6 +907,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
adapters[iface]['data']['inet']['inet_type'] = 'inet'
if iface_type not in ['bridge']: