Configuring the script to look in the home directory for the
packagecloud files to allow the script to work in the containers and the
openstack environments
Change-Id: Ibfad7111b87ed570d8cdca9b6243b0ab2e848483
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
sleep 10
FACTER_OS=$(/usr/bin/facter operatingsystem)
sleep 10
FACTER_OS=$(/usr/bin/facter operatingsystem)
-if [ -f /root/.packagecloud ]; then
+if [ -f ~/.packagecloud ]; then
case "$FACTER_OS" in
Ubuntu)
FACTER_LSBNAME=$(/usr/bin/facter lsbdistcodename)
case "$FACTER_OS" in
Ubuntu)
FACTER_LSBNAME=$(/usr/bin/facter lsbdistcodename)