added default anaconda ks, changed normal kickstart
This commit is contained in:
parent
d61c609db6
commit
b48a4d97fe
2 changed files with 62 additions and 10 deletions
51
anaconda-ks.cfg
Normal file
51
anaconda-ks.cfg
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
#version=DEVEL
|
||||
# System authorization information
|
||||
auth --enableshadow --passalgo=sha512
|
||||
# Use graphical install
|
||||
graphical
|
||||
# Run the Setup Agent on first boot
|
||||
firstboot --enable
|
||||
ignoredisk --only-use=sda
|
||||
# Keyboard layouts
|
||||
keyboard --vckeymap=us --xlayouts='us'
|
||||
# System language
|
||||
lang en_US.UTF-8
|
||||
|
||||
# Network information
|
||||
network --bootproto=dhcp --device=eth0 --ipv6=auto --activate
|
||||
network --hostname=localhost.localdomain
|
||||
|
||||
repo --name="updates" --baseurl=http://mirror.neostrada.nl/centos/7/updates/x86_64
|
||||
repo --name="extras" --baseurl=http://mirror.neostrada.nl/centos/7/extras/x86_64
|
||||
# Use network installation
|
||||
url --url="http://mirror.neostrada.nl/centos/7/os/x86_64"
|
||||
# Root password
|
||||
rootpw --iscrypted $6$qXL2KqjfAifpN4cd$/4rPIgneuC9zp1txG2I5oZweQ5a6uR26vOS7AL3omMu/.ltngwTl2CpmhnTsrCK.UZocsSCVSNNHPqQt4a3q2.
|
||||
# System services
|
||||
services --enabled="chronyd"
|
||||
# System timezone
|
||||
timezone Europe/Amsterdam --isUtc
|
||||
user --groups=wheel --name=michael --password=$6$lBwfauss1lvq7Uwp$agWB1VHqOkd6EafBmC6pESJq8/q6XhpoplIlAKyBtrBx3/cDFiUjeGEXTIus0DFfQGrAbICTSzuyXsB6dyqFG0 --iscrypted --gecos="michael"
|
||||
# System bootloader configuration
|
||||
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
|
||||
autopart --type=lvm
|
||||
# Partition clearing information
|
||||
clearpart --none --initlabel
|
||||
|
||||
%packages
|
||||
@^minimal
|
||||
@core
|
||||
chrony
|
||||
kexec-tools
|
||||
|
||||
%end
|
||||
|
||||
%addon com_redhat_kdump --enable --reserve-mb='auto'
|
||||
|
||||
%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
|
||||
Loading…
Add table
Add a link
Reference in a new issue