Safety options for persistent filesystems
This commit is contained in:
@@ -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
|
||||||
""")
|
""")
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user