Safety options for persistent filesystems

This commit is contained in:
Ian Gulliver
2016-06-04 14:19:43 -07:00
parent 05fbf92c0a
commit a19e99bb33
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ task
emits persistent-ready emits persistent-ready
script script
mount LABEL=PERSISTENT /persistent mount -o data=journal,noatime,sync LABEL=PERSISTENT /persistent
initctl emit --no-wait persistent-ready initctl emit --no-wait persistent-ready
end script end script
""") """)

View File

@@ -27,7 +27,7 @@ task
emits systemid-ready emits systemid-ready
script script
mount LABEL=SYSTEMID /systemid mount -o data=journal,noatime,sync LABEL=SYSTEMID /systemid
. /systemid/systemid . /systemid/systemid
echo ${SYSTEMID} > /etc/hostname echo ${SYSTEMID} > /etc/hostname
hostname --file /etc/hostname hostname --file /etc/hostname