Add '_netdev' to the invisible mount options

This commit is contained in:
Elias Probst 2015-01-05 19:50:29 +01:00
parent 739b7c2127
commit 2966d0e2c6
No known key found for this signature in database
GPG Key ID: 82C512826511BADB

View File

@ -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':