Mount /var/snap as a last step

This commit is contained in:
Magnus Andersson 2024-01-12 16:09:45 +01:00
parent 6d1f6a4935
commit 8ce2e9d149
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -25,3 +25,4 @@ runcmd:
- echo "/dev/snapvg/lvol_snap /var/snap xfs defaults 0 0" >> /etc/fstab - echo "/dev/snapvg/lvol_snap /var/snap xfs defaults 0 0" >> /etc/fstab
- systemctl daemon-reload - systemctl daemon-reload
- findmnt --verify || cp -a /run/fstab.bak /etc/fstab - findmnt --verify || cp -a /run/fstab.bak /etc/fstab
- mount /var/snap