diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-05-12 20:14:28 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-05-12 20:14:28 +0300 |
commit | dc52befc03ad1164fb2faadcd78e49e882209c80 (patch) | |
tree | c48e093cb30365e1bccb573ebd104ff863f0ce56 | |
parent | d3cfbe407761d7f9809626ae8b32808e1153b428 (diff) | |
download | vmdb2-dc52befc03ad1164fb2faadcd78e49e882209c80.tar.gz |
fix: don't set ext4 option in fstab, by default
Let user modify that via Ansible or something, if they care.
Sponsored-by: author
-rw-r--r-- | vmdb/plugins/fstab_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/fstab_plugin.py b/vmdb/plugins/fstab_plugin.py index fdc358c..b52d306 100644 --- a/vmdb/plugins/fstab_plugin.py +++ b/vmdb/plugins/fstab_plugin.py @@ -69,7 +69,7 @@ class FstabStepRunner(vmdb.StepRunnerInterface): ) fstab_path = os.path.join(chroot, "etc/fstab") - line = "UUID={uuid} {mount_point} {fstype} errors=remount-ro 0 1\n" + line = "UUID={uuid} {mount_point} {fstype} defaults 0 1\n" with open(fstab_path, "w") as fstab: for entry in filesystems: fstab.write(line.format(**entry)) |