make sure dodiscovery actually has access to the public key so the element is not left unpopulated

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-08-31 14:11:49 +00:00
parent 3983340ec4
commit b578f845b9

View File

@ -1,5 +1,8 @@
#!/bin/sh
minixcatd.awk &
PUBKEY=`openssl rsa -in /etc/xcat/privkey.pem -pubout|grep -v "PUBLIC KEY"`
PUBKEY=`echo $PUBKEY|sed -e 's/ //g'`
export PUBKEY
echo "Beginning node discovery process"
NICSTOBRINGUP=`ip link|grep mtu|grep -v LOOPBACK|grep -v usb|grep -v ,UP|awk -F: '{print $2}'`