since this won't be in the altarch repo, might as well make it personalized lol
This commit is contained in:
parent
b92bcb6c5d
commit
e0e8a9a03a
@ -3,9 +3,9 @@ lang en_US.UTF-8
|
|||||||
services --enabled=chronyd,NetworkManager,sshd
|
services --enabled=chronyd,NetworkManager,sshd
|
||||||
#services --disabled=
|
#services --disabled=
|
||||||
skipx # disable X by default
|
skipx # disable X by default
|
||||||
timezone UTC
|
timezone Asia/Kolkata
|
||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
firewall --enabled --ssh
|
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
|
bootloader --location=mbr --boot-drive=sda
|
||||||
shutdown # power-off after the installation completes
|
shutdown # power-off after the installation completes
|
||||||
|
@ -8,14 +8,7 @@ rocky-release
|
|||||||
@standard
|
@standard
|
||||||
|
|
||||||
# Kernel selection
|
# Kernel selection
|
||||||
#kernel-stable-tfg
|
|
||||||
#kernel-lts-tfg
|
|
||||||
#kernel-rc-tfg
|
|
||||||
#kernel-next-tfg
|
|
||||||
kernel-ml
|
kernel-ml
|
||||||
#kernel-lt
|
|
||||||
#kernel-rc
|
|
||||||
#kernel-next
|
|
||||||
|
|
||||||
# Other necessary packages
|
# Other necessary packages
|
||||||
cloud-utils-growpart
|
cloud-utils-growpart
|
||||||
|
@ -6,10 +6,10 @@ set -x
|
|||||||
# locked out even when you enter the correct credentials
|
# locked out even when you enter the correct credentials
|
||||||
|
|
||||||
# User setup
|
# User setup
|
||||||
USER_COMMENT='Rocky Linux'
|
USER_COMMENT='Pratham Patel'
|
||||||
USER_NAME='rocky'
|
USER_NAME='pratham'
|
||||||
USER_PASSWORD='rockylinux'
|
USER_PASSWORD='asdf'
|
||||||
USER_GROUPS='wheel'
|
USER_GROUPS='mock,wheel'
|
||||||
|
|
||||||
# The 'useradd' binary can't be found in $PATH (idk why), so
|
# The 'useradd' binary can't be found in $PATH (idk why), so
|
||||||
# execute it using its absolute path
|
# execute it using its absolute path
|
||||||
@ -21,7 +21,6 @@ USER_GROUPS='wheel'
|
|||||||
--groups "${USER_GROUPS}"
|
--groups "${USER_GROUPS}"
|
||||||
|
|
||||||
echo -e "${USER_PASSWORD}\n${USER_PASSWORD}" | passwd "${USER_NAME}"
|
echo -e "${USER_PASSWORD}\n${USER_PASSWORD}" | passwd "${USER_NAME}"
|
||||||
passwd -e "${USER_NAME}"
|
|
||||||
|
|
||||||
# Lock the root account
|
# Lock the root account
|
||||||
passwd -l root
|
passwd -l root
|
||||||
|
Loading…
Reference in New Issue
Block a user