From: Frank Brehm Date: Thu, 11 Jun 2020 10:22:37 +0000 (+0200) Subject: Changing system kickstart file X-Git-Tag: 2.1.2^2~9^2~31^2~60 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=6cd023467b7276a3b8ad3bf4e02c1e6423b6ca06;p=pixelpark%2Fcreate-vmware-tpl.git Changing system kickstart file --- diff --git a/kickstart/template-centos8.ks b/kickstart/template-centos8.ks index 3128374..9365b47 100644 --- a/kickstart/template-centos8.ks +++ b/kickstart/template-centos8.ks @@ -136,6 +136,10 @@ echo echo "IPv6 routes" ip -6 route list +echo +echo "/etc/resolv.conf" +cat /etc/resolv.conf + ### remove unnecessary directory rm -rf /var/var @@ -145,11 +149,15 @@ export system_name="$system_name" export gateway="$gateway" export ip_address_eth0="$ip_address_eth0" export mac_address_eth0="$mac_address_eth0" +export system_status="${SYSTEM_STATUS}" echo "hostname: '$hostname'" echo "system_name: '$system_name'" echo "gateway: '$gateway'" echo "ip_address_eth0: '$ip_address_eth0'" echo "mac_address_eth0: '$mac_address_eth0'" +echo "System status: '${system_status}'" + +$SNIPPET("per_status/${SYSTEM_STATUS}/tpl.001.basics.sh") %end