From: Frank Brehm Date: Thu, 11 Jun 2020 13:56:52 +0000 (+0200) Subject: Changing way of calling snippet X-Git-Tag: 2.1.2^2~9^2~31^2~56 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=24f3022f9f250adc6e70ae10dcc06bacae52dc43;p=pixelpark%2Fcreate-vmware-tpl.git Changing way of calling snippet --- diff --git a/kickstart/template-centos8.ks b/kickstart/template-centos8.ks index 9365b47..86599ba 100644 --- a/kickstart/template-centos8.ks +++ b/kickstart/template-centos8.ks @@ -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