From dc52befc03ad1164fb2faadcd78e49e882209c80 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 12 May 2023 20:14:28 +0300 Subject: fix: don't set ext4 option in fstab, by default Let user modify that via Ansible or something, if they care. Sponsored-by: author --- vmdb/plugins/fstab_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.1