]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing way of calling snippet
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 13:56:52 +0000 (15:56 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 13:56:52 +0000 (15:56 +0200)
kickstart/template-centos8.ks

index 9365b476ca2ac58627555486db22823c1a994b5e..86599ba7854c2dbf15b031e6fad4e614ac83b796 100644 (file)
@@ -151,6 +151,7 @@ export ip_address_eth0="$ip_address_eth0"
 export mac_address_eth0="$mac_address_eth0"
 export system_status="${SYSTEM_STATUS}"
 
+echo
 echo "hostname:         '$hostname'"
 echo "system_name:      '$system_name'"
 echo "gateway:          '$gateway'"
@@ -158,6 +159,9 @@ 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")
+#set $basic_snippet = "per_status/" + ${SYSTEM_STATUS} + "tpl.001.basics.sh"
+echo
+echo "Using snippet $basic_snippet"
+$SNIPPET($basic_snippet)
 
 %end