Skip to content

Instantly share code, notes, and snippets.

@jby
Created December 4, 2018 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jby/b533f708b16bc60560312be01b8401f3 to your computer and use it in GitHub Desktop.
Save jby/b533f708b16bc60560312be01b8401f3 to your computer and use it in GitHub Desktop.
anaconda-ks.cfg
#version=DEVEL
ignoredisk --only-use=sda
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Use graphical install
graphical
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=eno1 --ipv6=auto --no-activate
network --hostname=linuxtest.trioptima.local
# Root password
rootpw --iscrypted $6$EEactyi0ELzBy.l5$3lSiRrcukSi4WGO1X6ZZCEayR7bTqogWHnzVEshhLUPudZ3bsf9AEbCz76LagJhUavUQWAoM0hwFxMoItEacz/
# X Window System configuration information
xconfig --startxonboot
# Run the Setup Agent on first boot
firstboot --enable
# System services
services --enabled="chronyd"
# System timezone
timezone Europe/Stockholm
user --groups=wheel --name=jonasb --password=$6$Q9LubfcP48o9uIQm$waILTZ1jrYnxK5I8/kA.NpJ/e3tbYsZDdzuw3Fjr6jPwQWgdpnyRU3TMmzMoLdFkSkhMt1.Vp36grEU7LNNrj0 --iscrypted --gecos="Jonas Bygden"
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
%packages
@^workstation-product-environment
%end
%addon com_redhat_kdump --disable --reserve-mb='128'
%end
%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
@jby
Copy link
Author

jby commented Dec 4, 2018

/run/install/ks.cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment