diff --git a/server/modules/persistent.py b/server/modules/persistent.py index 221509f..3c20c07 100755 --- a/server/modules/persistent.py +++ b/server/modules/persistent.py @@ -28,6 +28,8 @@ def main(): os.chmod(fh.fileno(), 0o755) fh.write("""\ #!/bin/bash +set -ex +e2fsck -a /persistent mount -o data=journal,noatime,sync LABEL=PERSISTENT /persistent """)