r9 #3

Merged
sherif merged 2 commits from :r9 into r9 2023-05-08 21:09:24 +00:00
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -1,4 +1,4 @@
rootpw --iscrypted $6$2cuo4i8NE.Gbde2m$jQ3tX0SeDp0ZSvGZUUKAWg774vPeWhcYYpBaJkMNjULBm.Q41NwwWt6kCoWjF07dEQGCn7U/Ei.wQHyhACqk9. rootpw --lock
%include includes/basecommon9.ksi %include includes/basecommon9.ksi
%include includes/gen-partitions9.ksi %include includes/gen-partitions9.ksi
%include includes/packages9.ksi %include includes/packages9.ksi