[Bug 365141] Re: euca_conf: inelegant retrieval of eucalyptus' $HOME

Matt Zimmerman mdz at ubuntu.com
Sat Sep 26 02:28:28 BST 2009


This particular instance is fixed:

# we may need the location of the ssh key for eucalyptus
EUCA_HOME="`getent passwd eucalyptus|cut -f 6 -d ':'`"
if [ -f "${EUCA_HOME}/.ssh/id_rsa.pub" ]; then
        SSHKEY=`cat ${EUCA_HOME}/.ssh/id_rsa.pub`
else
        SSHKEY=""
fi

-- 
euca_conf: inelegant retrieval of eucalyptus' $HOME
https://bugs.launchpad.net/bugs/365141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list