From a19e99bb33b9c0eeebb80f3b2722917716ccadbb Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 4 Jun 2016 14:19:43 -0700 Subject: [PATCH] Safety options for persistent filesystems --- server/modules/persistent.py | 2 +- server/modules/systemid.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/persistent.py b/server/modules/persistent.py index 1448507..aa17d9f 100755 --- a/server/modules/persistent.py +++ b/server/modules/persistent.py @@ -27,7 +27,7 @@ task emits persistent-ready script - mount LABEL=PERSISTENT /persistent + mount -o data=journal,noatime,sync LABEL=PERSISTENT /persistent initctl emit --no-wait persistent-ready end script """) diff --git a/server/modules/systemid.py b/server/modules/systemid.py index 8159c54..3e89b83 100755 --- a/server/modules/systemid.py +++ b/server/modules/systemid.py @@ -27,7 +27,7 @@ task emits systemid-ready script - mount LABEL=SYSTEMID /systemid + mount -o data=journal,noatime,sync LABEL=SYSTEMID /systemid . /systemid/systemid echo ${SYSTEMID} > /etc/hostname hostname --file /etc/hostname