From: Frank Brehm Date: Mon, 17 May 2021 10:41:19 +0000 (+0200) Subject: New partition layout for template-* X-Git-Tag: 2.2.6^2~1^2~2 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=2e7656bbc4e39d4bd979f9619c034cd07183a212;p=pixelpark%2Fcreate-vmware-tpl.git New partition layout for template-* --- diff --git a/kickstart/template-centos7.ks b/kickstart/template-centos7.ks index 2ce5def..835b086 100644 --- a/kickstart/template-centos7.ks +++ b/kickstart/template-centos7.ks @@ -58,9 +58,10 @@ part /boot --fstype ext4 --size=512 --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 -logvol / --vgname=vgroot --name=root --size=10240 -logvol /var --vgname=vgroot --name=var --size=1 --grow +logvol / --vgname=vgroot --name=root --size=8192 +logvol /home --vgname=vgroot --name=home --size=1024 +logvol /var --vgname=vgroot --name=var --size=4096 --grow +logvol /var/log --vgname=vgroot --name=log --size=2048 ########################################## # Repositories @@ -191,6 +192,11 @@ echo echo "Using snippet $tweak_grub_snippet" $SNIPPET($tweak_grub_snippet) +#set $setup_tmp_tmpfs_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.075.tmp-tmpfs.sh" +echo +echo "Using snippet $setup_tmp_tmpfs_snippet" +$SNIPPET($setup_tmp_tmpfs_snippet) + #set $tweak_rsyslog_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.080.rsyslogd-el7.sh" echo echo "Using snippet $tweak_rsyslog_snippet" diff --git a/kickstart/template-centos8.ks b/kickstart/template-centos8.ks index 73ae336..ec47cd6 100644 --- a/kickstart/template-centos8.ks +++ b/kickstart/template-centos8.ks @@ -45,12 +45,13 @@ clearpart --all --drive=sda # 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 -logvol / --vgname=vgroot --name=root --size=10240 -logvol /var --vgname=vgroot --name=var --size=1 --grow +logvol / --vgname=vgroot --name=root --size=8192 +logvol /home --vgname=vgroot --name=home --size=1024 +logvol /var --vgname=vgroot --name=var --size=4096 --grow +logvol /var/log --vgname=vgroot --name=log --size=2048 ########################################## # Repositories @@ -189,6 +190,11 @@ echo echo "Using snippet $tweak_grub_snippet" $SNIPPET($tweak_grub_snippet) +#set $setup_tmp_tmpfs_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.075.tmp-tmpfs.sh" +echo +echo "Using snippet $setup_tmp_tmpfs_snippet" +$SNIPPET($setup_tmp_tmpfs_snippet) + #set $tweak_rsyslog_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.080.rsyslogd-el8.sh" echo echo "Using snippet $tweak_rsyslog_snippet"