anaconda-ks.cfg: introduce for bootstrapping RHEL and Fedora VMs
This commit is contained in:
parent
c0df4e3667
commit
440147d62f
|
@ -0,0 +1,39 @@
|
|||
text
|
||||
keyboard --vckeymap=us --xlayouts='us'
|
||||
lang en_US.UTF-8
|
||||
network --hostname=brahma
|
||||
timezone Asia/Kolkata --utc
|
||||
firstboot --enable
|
||||
skipx
|
||||
poweroff
|
||||
|
||||
ignoredisk --only-use=vdb
|
||||
clearpart --none
|
||||
mount vdb1 /boot/efi --reformat=efi
|
||||
mount vdb2 /boot --reformat=xfs
|
||||
mount vdb3 / --reformat=xfs
|
||||
bootloader --location=mbr --boot-drive=vdb
|
||||
|
||||
rootpw --plaintext 'asdf'
|
||||
user --groups='mock,wheel' --name=pratham --password='asdf' --plaintext --gecos="Pratham Patel"
|
||||
|
||||
%packages
|
||||
@^server-product-environment
|
||||
appliance-tools
|
||||
curl
|
||||
git
|
||||
mock
|
||||
procps-ng
|
||||
pykickstart
|
||||
rpm-build
|
||||
rpmdevtools
|
||||
rpmlint
|
||||
tmux
|
||||
wget
|
||||
%end
|
||||
|
||||
%post
|
||||
echo 'exclude=kernel kernel-core' | tee -a /etc/dnf/dnf.conf
|
||||
sed -i 's@^%wheel@##%wheel@g' /etc/sudoers
|
||||
sed -i 's@^# %wheel@%wheel@g' /etc/sudoers
|
||||
%end
|
Loading…
Reference in New Issue