From a251b828a21fe8732133a6af09ce3bf002b3e815 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 20 Oct 2016 14:50:17 +0200 Subject: [PATCH] No need for a separate ks.packages --- el7.ks | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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