only use short node name in loadclouddata

This commit is contained in:
jjhua 2014-02-13 12:28:34 -05:00
parent 663e7d0132
commit e0eea42b96

View File

@ -182,7 +182,8 @@ then
for client in $CFGCLIENTLIST
do
echo "Configuring the chef-client node $client on the chef-server $NODE."
c_fullname="$client.$DOMAIN"
#c_fullname="$client.$DOMAIN"
c_fullname=$client
knife client delete -y $c_fullname > /dev/null 2>&1
knife node delete -y $c_fullname > /dev/null 2>&1