summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-05-12 20:14:28 +0300
committerLars Wirzenius <liw@liw.fi>2023-05-12 20:14:28 +0300
commitdc52befc03ad1164fb2faadcd78e49e882209c80 (patch)
treec48e093cb30365e1bccb573ebd104ff863f0ce56
parentd3cfbe407761d7f9809626ae8b32808e1153b428 (diff)
downloadvmdb2-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.py2
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))