diff --git a/el8.ks b/el8.ks index db7401a..fe78b71 100644 --- a/el8.ks +++ b/el8.ks @@ -1,12 +1,9 @@ -auth --enableshadow --passalgo=sha512 url --url="http://mirror.centos.org/centos/8/BaseOS/x86_64/os/" cmdline skipx timezone Europe/Paris --isUtc keyboard --vckeymap=fr-oss --xlayouts='fr (oss)' lang fr_FR.UTF-8 -services --enabled ntpd -firewall --enabled --service ssh network --bootproto=dhcp --activate --noipv6 rootpw --iscrypted $6$6OYBD0R8xuGsqAUl$KVHVrjCM6VmLR13TW0exHAl4toKHxQTd9zwbuYzR/t79heCMrAcVmtBmw0wCcNu5zoz1y3LzwdIZjNedRlz7Y/ zerombr @@ -14,6 +11,7 @@ bootloader --location mbr --append 'ipv6.disable=1' # Enable fws and epel # FWS not available yet # repo --name=fws --baseurl=http://repo.firewall-services.com/centos/8 +repo --name=AppStream --baseurl=http://mirror.centos.org/centos/8/AppStream/x86_64/os/ repo --name=epel --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64 %include /tmp/ks.partitions @@ -22,47 +20,12 @@ user --name=ansible --shell /bin/bash --gecos="Ansible Account" reboot -%packages --ignoremissing +%packages +@^minimal-environment epel-release -crontabs -dhclient -irqbalance -ntp -openssh-server -passwd -prelink -rootfiles -selinux-policy-targeted -tmpwatch -yum -mailx -net-tools -openssh-clients -rsync +htop screen -sudo -sysstat vim -strace -pbzip2 -xz -pxz -iftop -wget -tcpdump -pciutils -nc -lsof -htop --iprutil --kernel-tools --kexec-tools --microcode_ctl --parted --NetworkManager --NetworkManager-tui --*-firmware --b43-openfwwf %end @@ -81,11 +44,10 @@ touch /tmp/ks.partitions # Select first drive main_drive=$(list-harddrives | awk '$2>=8704 {print $1; nextfile}') -ignore=$(echo $(list-harddrives | awk '$1!="'$main_drive'" {print $1}') | sed -e 's| |,|g') -[ ! -z "$ignore" ] && echo "ignoredisk --drives $ignore" >> /tmp/ks.partitions cat << _EOF >> /tmp/ks.partitions -clearpart --all --initlabel --drives $main_drive -part /boot --fstype xfs --size 1024 --ondrive $main_drive +ignoredisk --only-use=$main_drive +clearpart --all --initlabel +part /boot --fstype xfs --size 1024 part swap --fstype swap --size 512 part / --fstype xfs --size 7168 --grow _EOF