mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Merge pull request #29952 from herlo/develop
fixup mount.fstab to accommodate entries with the same name
This commit is contained in:
commit
ce60b91318
@ -313,6 +313,9 @@ def fstab(config='/etc/fstab'):
|
||||
_fstab_entry.compatibility_keys)
|
||||
|
||||
entry['opts'] = entry['opts'].split(',')
|
||||
while entry['name'] in ret:
|
||||
entry['name'] += '_'
|
||||
|
||||
ret[entry.pop('name')] = entry
|
||||
except _fstab_entry.ParseError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user