mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
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:
commit
85ab064398
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user