From e0e8a9a03a99d15cdbe67d2af96d1ba827257f13 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 13 Nov 2023 09:27:23 +0530 Subject: [PATCH] since this won't be in the altarch repo, might as well make it personalized lol --- includes/base-configuration.ksi | 4 ++-- includes/package-list.ksi | 7 ------- includes/post/user-setup.ksi | 9 ++++----- includes/repos/kernel-tfg.ksi | 2 +- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/includes/base-configuration.ksi b/includes/base-configuration.ksi index 8d68551..7041a9c 100644 --- a/includes/base-configuration.ksi +++ b/includes/base-configuration.ksi @@ -3,9 +3,9 @@ lang en_US.UTF-8 services --enabled=chronyd,NetworkManager,sshd #services --disabled= skipx # disable X by default -timezone UTC +timezone Asia/Kolkata selinux --enforcing firewall --enabled --ssh -network --device=link --activate --bootproto=dhcp --onboot=on --hostname=rockylinux +network --device=link --activate --bootproto=dhcp --onboot=on --hostname=altarchdevel bootloader --location=mbr --boot-drive=sda shutdown # power-off after the installation completes diff --git a/includes/package-list.ksi b/includes/package-list.ksi index c72aace..3c08457 100644 --- a/includes/package-list.ksi +++ b/includes/package-list.ksi @@ -8,14 +8,7 @@ rocky-release @standard # Kernel selection -#kernel-stable-tfg -#kernel-lts-tfg -#kernel-rc-tfg -#kernel-next-tfg kernel-ml -#kernel-lt -#kernel-rc -#kernel-next # Other necessary packages cloud-utils-growpart diff --git a/includes/post/user-setup.ksi b/includes/post/user-setup.ksi index ff5e2b7..7e103aa 100644 --- a/includes/post/user-setup.ksi +++ b/includes/post/user-setup.ksi @@ -6,10 +6,10 @@ set -x # locked out even when you enter the correct credentials # User setup -USER_COMMENT='Rocky Linux' -USER_NAME='rocky' -USER_PASSWORD='rockylinux' -USER_GROUPS='wheel' +USER_COMMENT='Pratham Patel' +USER_NAME='pratham' +USER_PASSWORD='asdf' +USER_GROUPS='mock,wheel' # The 'useradd' binary can't be found in $PATH (idk why), so # execute it using its absolute path @@ -21,7 +21,6 @@ USER_GROUPS='wheel' --groups "${USER_GROUPS}" echo -e "${USER_PASSWORD}\n${USER_PASSWORD}" | passwd "${USER_NAME}" -passwd -e "${USER_NAME}" # Lock the root account passwd -l root diff --git a/includes/repos/kernel-tfg.ksi b/includes/repos/kernel-tfg.ksi index e2f4711..c73c17e 100644 --- a/includes/repos/kernel-tfg.ksi +++ b/includes/repos/kernel-tfg.ksi @@ -1,2 +1,2 @@ # Enable Pratham Patel's COPR that provides the Linux kernel -repo --install --name=COPR-kernel-tfg --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-tfg/rhel-$releasever-$basearch +repo --install --name=COPR-kernel-tfg --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-tfg/rhel-$releasever-$basearch