In recent centos 8 images tmp.mount is masked, which causes issues with all defined LVM mounts (/ is readonly, other mounts fail). This change unmasks and enables tmp.mounted so the existing LVM /tmp mounts correctly. It also makes fsck-passno compliant with the documentation[1] so that / has value 1 and all other mounts are set to 2. Blueprint: whole-disk-default [1] https://www.man7.org/linux/man-pages/man5/fstab.5.html Change-Id: Ib517e73845a7698f873a4f3207ffa9c54cdbcbefchanges/08/792308/3
parent
fe5cc75a2e
commit
1635ba8abe
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
# Ensure tmp.mount isn't masked, which is done in cloud images
|
||||
# such as CentOS-Stream-GenericCloud-8
|
||||
systemctl unmask tmp.mount
|
||||
systemctl enable tmp.mount
|
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
# Ensure tmp.mount isn't masked, which is done in cloud images
|
||||
# such as CentOS-Stream-GenericCloud-8
|
||||
systemctl unmask tmp.mount
|
||||
systemctl enable tmp.mount
|
Loading…
Reference in new issue