2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

Remove trailing spaces in file xCAT-OpenStack-baremetal/share/xcat/openstack/postscripts/config_ops_bm_node

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 9a891c2528
commit b5f53bd9a1

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
# IBM(c) 2014 EPL license http://www.eclipse.org/legal/epl-v10.html
# xCAT post script for configuring the openstack baremetal node.
@@ -116,7 +116,7 @@ change_host_name()
echo "HOSTNAME=$str_hostname" >> $conf_file
fi
fi
}
str_os_type=$(get_os_type)
@@ -192,7 +192,7 @@ if [[ -n $2 ]]; then
continue
fi
echo "mac=$mac"
#find the nic that has the mac
if [[ -z $nic ]]; then
#go to each nic to match the mac address
@@ -207,7 +207,7 @@ if [[ -n $2 ]]; then
echo "nic=$nic"
#now setup the ip alias
setup_ip $str_os_type $nic:0 $ops_ip $ops_mask
setup_ip $str_os_type $nic:0 $ops_ip $ops_mask
fi