remove system.devices from lvm variants (#9)
This commit is contained in:
parent
51989ace15
commit
9a24c6d686
@ -219,6 +219,9 @@ touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
|
||||
# LVM Variant Fix, remove system.devices
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
true
|
||||
|
||||
%end
|
||||
|
@ -224,5 +224,8 @@ cat >> /etc/chrony.conf << EOF
|
||||
server 169.254.169.123 prefer iburst minpoll 4 maxpoll 4
|
||||
EOF
|
||||
|
||||
# LVM Variant Fix, remove system.devices
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
%end
|
||||
|
||||
|
@ -228,6 +228,9 @@ cat /dev/null > /etc/machine-id
|
||||
# reorder console entries
|
||||
#sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg
|
||||
|
||||
# LVM Variant Fix, remove system.devices
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
true
|
||||
|
||||
%end
|
||||
|
@ -163,6 +163,9 @@ touch /var/log/boot.log
|
||||
mkdir -p /var/cache/yum
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
|
||||
# LVM Variant Fix, remove system.devices
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
true
|
||||
|
||||
%end
|
||||
|
@ -130,4 +130,7 @@ cat >> /etc/chrony.conf << EOF
|
||||
server 169.254.169.123 prefer iburst minpoll 4 maxpoll 4
|
||||
EOF
|
||||
|
||||
# LVM Variant Fix, remove system.devices
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
%end
|
||||
|
@ -123,6 +123,9 @@ cat /dev/null > /etc/machine-id
|
||||
# reorder console entries
|
||||
#sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg
|
||||
|
||||
# LVM Variant Fix, remove system.devices
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
true
|
||||
|
||||
%end
|
||||
|
@ -289,6 +289,12 @@ LSBwb3dlci1zdGF0ZS1jaGFuZ2UKCg=="
|
||||
|
||||
base64 -d <<<"$OCICLOUDCFG" >> /etc/cloud/cloud.cfg.d/99_oci.cfg
|
||||
|
||||
# Remove system.devices because Oracle does things.
|
||||
rm -fv /etc/lvm/devices/system.devices
|
||||
|
||||
# Start OCId
|
||||
systemctl enable ocid
|
||||
|
||||
# Rerun dracut for the installed kernel (not the running kernel):
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%%{V}-%%{R}.%%{arch}\n')
|
||||
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user