Fix nailgun port

This commit is contained in:
Vitaly Parakhin 2015-05-13 18:08:51 +03:00
parent e21e33bd9f
commit 60bfe5a246
2 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ if hash fuel 2>/dev/null; then
DOCKER_MODE=true
FUEL_SERVER=`grep ipaddress: /etc/fuel/astute.yaml | awk '{print $2}'`
FUEL_ADMIN_PASS=`grep -A 2 FUEL_ACCESS /etc/fuel/astute.yaml | grep password | awk '{print $2}'`
FULL_RELEASE=`fuel --fuel-version 2>&1 | grep -A 1 release_versions | tail -1 | cut -d":" -f1`
else
# working outside Fuel master node, using defaults
FUEL_VERSION=6.1

View File

@ -61,10 +61,10 @@ print_repositories() {
echo " * INFO: Set the following repositories:"; echo
if [ "$2" == "full" ]; then
for dist in "${DISTs[@]}"; do
echo " $dist deb http://$FUEL_SERVER:8000/$1 $dist ${DIST_COMPONENTs[$dist]}"
echo " $dist deb http://$FUEL_SERVER:8080/$1 $dist ${DIST_COMPONENTs[$dist]}"
done
else
echo " ${DISTs[0]} deb http://$FUEL_SERVER:8000/$1 ${DISTs[0]} main"
echo " ${DISTs[0]} deb http://$FUEL_SERVER:8080/$1 ${DISTs[0]} main"
fi
echo
}