mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 18:18:32 +00:00
25 lines
668 B
Plaintext
25 lines
668 B
Plaintext
|
bootloader --location=mbr
|
||
|
network --bootproto=dhcp
|
||
|
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/BaseOS/x86_64/os/"
|
||
|
lang en_US.UTF-8
|
||
|
keyboard us
|
||
|
timezone --utc America/New_York
|
||
|
clearpart --all
|
||
|
autopart --encrypted --passphrase=weakpassword
|
||
|
rootpw --plaintext weakpassword
|
||
|
user --name=test --password=weakpassword --plaintext
|
||
|
firstboot --enable
|
||
|
poweroff
|
||
|
text
|
||
|
|
||
|
%packages
|
||
|
@^workstation-product-environment
|
||
|
-selinux-policy-minimum
|
||
|
%end
|
||
|
|
||
|
%post
|
||
|
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
|
||
|
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
|
||
|
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
|
||
|
%end
|