mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #20328 from bbinet/fix-allow-hotplug
Fix support for allow-hotplug in debian_ip network module
This commit is contained in:
commit
c364b99441
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user