From 6cd023467b7276a3b8ad3bf4e02c1e6423b6ca06 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 11 Jun 2020 12:22:37 +0200 Subject: [PATCH] Changing system kickstart file --- kickstart/template-centos8.ks | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5