Update 'includes/gen-postcommon9.ksi'

This commit is contained in:
Bryan Zuelly 2023-04-16 19:30:06 +00:00
parent 5ef45137cb
commit 7ce90bb2f5
1 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,9 @@
# Setting correct yum variable to use raspberrypi kernel repo
#echo "generic" > /etc/dnf/vars/kvariant
#
# Creating rocky user
/usr/sbin/useradd -m -p '$6$2cuo4i8NE.Gbde2m$jQ3tX0SeDp0ZSvGZUUKAWg774vPeWhcYYpBaJkMNjULBm.Q41NwwWt6kCoWjF07dEQGCn7U/Ei.wQHyhACqk9.' rocky
# Creating rocky user and add to wheel group
/sbin/useradd -c "Rocky Linux default user" -G wheel -m -U rocky
echo "rockylinux" | passwd --stdin rocky
# Generic efi filename for VMs
mkdir -p /boot/efi/EFI/BOOT
if [ -d /boot/efi/EFI/rocky/ ] && [ -f /boot/efi/EFI/rocky/grubaa64.efi ];then