]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing system kickstart file
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 10:22:37 +0000 (12:22 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 10:22:37 +0000 (12:22 +0200)
kickstart/template-centos8.ks

index 3128374d8f32c7adf78fff284624bdcec2347605..9365b476ca2ac58627555486db22823c1a994b5e 100644 (file)
@@ -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