Update omnia_bmc_config
@@ -3,7 +3,7 @@ echo "-----------------" >> $xcat_log
echo "Configure bmc nic" >> $xcat_log
#Fetch pxe ip
pxe_ip=`ifconfig | grep pxe_subnet_search_key | awk '{print $2}'`
-echo "pxe nic ip address is $pxe_ip" >> $xcat_log
+echo "Fetching pxe nic ip address" >> $xcat_log
#Configure bmc ip
bmc_subnet=bmc_nic_subnet
@@ -11,7 +11,7 @@ bmc_subnet=bmc_nic_subnet
IFS='.' read -ra bmc_array <<< "$bmc_subnet"
IFS='.' read -ra pxe_array <<< "$pxe_ip"
bmc_ip=${bmc_array[0]}'.'${bmc_array[1]}'.'${pxe_array[2]}'.'${pxe_array[3]}
-echo "bmc ip address is $bmc_ip" >> $xcat_log
+echo "Fetching bmc ip address" >> $xcat_log
/opt/dell/srvadmin/sbin/racadm setniccfg -s $bmc_ip 255.255.0.0 0.0.0.0
echo "bmc nic configured" >> $xcat_log
