Fixup handling of deb source options
This commit is contained in:
parent
cde1df573e
commit
3cc1f65685
|
@ -13,7 +13,7 @@ function install_hook {
|
|||
juju-log "Installing glance packages"
|
||||
apt-get -y install python-software-properties || exit 1
|
||||
|
||||
configure_install_source $(config-get openstack-origin)
|
||||
configure_install_source "$(config-get openstack-origin)"
|
||||
|
||||
apt-get update || exit 1
|
||||
apt-get -y install $PACKAGES || exit 1
|
||||
|
|
|
@ -78,7 +78,7 @@ function configure_install_source {
|
|||
juju-log "$CHARM No repository key specified"
|
||||
url="$src"
|
||||
fi
|
||||
add-apt-repository -y "$url"
|
||||
echo $url > /etc/apt/sources.list.d/juju_deb.list
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue