From: Frank Brehm Date: Thu, 25 Jun 2020 09:10:11 +0000 (+0200) Subject: Adding clearpart to kickstart/template-centos7.ks X-Git-Tag: 2.1.2^2~7^2~5^2~12 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=9dd0629b9043ea843b5918b6cee1f3defa40b8e3;p=pixelpark%2Fcreate-vmware-tpl.git Adding clearpart to kickstart/template-centos7.ks --- diff --git a/kickstart/template-centos7.ks b/kickstart/template-centos7.ks index 19e6b6a..9efe19f 100644 --- a/kickstart/template-centos7.ks +++ b/kickstart/template-centos7.ks @@ -46,12 +46,16 @@ timezone Europe/Berlin ########################################### # Partitioning and Disk +# Partition clearing information +# clearpart --all --drive=sda +clearpart --all --initlabel + # System bootloader configuration bootloader --append="net.ifnames=0 biosdevname=0" --location=mbr # Disk partitioning information part /boot --fstype ext4 --size=512 --ondisk=sda -part swap --size=${SWAP_SIZE_MB} --ondisk=sda +part swap --size=${SWAP_SIZE_MB} --ondisk=sda part pv.01 --size=1 --grow --ondisk=sda volgroup vgroot pv.01 logvol /home --vgname=vgroot --name=home --size=4096