mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Add '_netdev' to the invisible mount options
This commit is contained in:
parent
739b7c2127
commit
2966d0e2c6
@ -162,7 +162,7 @@ def mounted(name,
|
||||
if uuid_device and uuid_device not in device_list:
|
||||
device_list.append(uuid_device)
|
||||
if opts:
|
||||
mount_invisible_options = ['bg', 'defaults', 'comment', 'nobootwait', 'reconnect', 'delay_connect', 'nofail', 'password', 'soft']
|
||||
mount_invisible_options = ['bg', 'defaults', 'comment', '_netdev', 'nobootwait', 'reconnect', 'delay_connect', 'nofail', 'password', 'soft']
|
||||
for opt in opts:
|
||||
comment_option = opt.split('=')[0]
|
||||
if comment_option == 'comment':
|
||||
|
Loading…
Reference in New Issue
Block a user