diff --git a/el7.ks b/el7.ks index 87929b6..84abdc8 100644 --- a/el7.ks +++ b/el7.ks @@ -19,13 +19,7 @@ repo --name=epel --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=ep reboot %packages --nobase --ignoremissing -%include /tmp/ks.packages - -%end - -cat << _EOF >> /tmp/ks.packages epel-release - crontabs dhclient irqbalance @@ -55,7 +49,6 @@ tcpdump pciutils nc lsof - -iprutil -kernel-tools -kexec-tools @@ -67,7 +60,12 @@ lsof -*-firmware -b43-openfwwf -_EOF +%end + +################################################ +# Detect hard drives before starting the install +################################################ +%pre --log /tmp/pre.log # ensure file exists touch /tmp/ks.partitions