|
@@ -173,8 +173,6 @@ setup-vbuilder(){
|
|
. $VBUILDER_CONF
|
|
. $VBUILDER_CONF
|
|
[ $? -eq 1 ] && return 1
|
|
[ $? -eq 1 ] && return 1
|
|
fi
|
|
fi
|
|
- [ -z "${DEFAULT_VERSION}" ] && \
|
|
|
|
- DEFAULT_VERSION=@@VBUILDER_DEFAULT_VERSION@@
|
|
|
|
[ -z "${CATEGORIES}" ] && \
|
|
[ -z "${CATEGORIES}" ] && \
|
|
CATEGORIES=@@VBUILDER_CATEGORIES@@
|
|
CATEGORIES=@@VBUILDER_CATEGORIES@@
|
|
[ -z "${VBOOTSTRAP_FETCH_URL}" ] && \
|
|
[ -z "${VBOOTSTRAP_FETCH_URL}" ] && \
|
|
@@ -188,6 +186,9 @@ setup-vbuilder(){
|
|
[ -z "${BUILT_RPMS_DIR}" ] && \
|
|
[ -z "${BUILT_RPMS_DIR}" ] && \
|
|
BUILT_RPMS_DIR=@@VBUILDER_BUILT_RPMS_DIR@@
|
|
BUILT_RPMS_DIR=@@VBUILDER_BUILT_RPMS_DIR@@
|
|
|
|
|
|
|
|
+ ## set default version for vbootstrap
|
|
|
|
+ VERSION=@@VBUILDER_DEFAULT_VERSION@@
|
|
|
|
+
|
|
## load profile
|
|
## load profile
|
|
if [ ${with_profile} -eq 1 ]; then
|
|
if [ ${with_profile} -eq 1 ]; then
|
|
[ ! -r /etc/vbootstrap/profile.d/${PROFILE}.conf ] && \
|
|
[ ! -r /etc/vbootstrap/profile.d/${PROFILE}.conf ] && \
|
|
@@ -197,13 +198,6 @@ setup-vbuilder(){
|
|
[ $? -eq 1 ] && return 1
|
|
[ $? -eq 1 ] && return 1
|
|
fi
|
|
fi
|
|
|
|
|
|
- ## set default version for vbootstrap
|
|
|
|
- if [ ${with_profile} -eq 1 ]; then
|
|
|
|
- [ -z ${VERSION} ] && VERSION=$DEFAULT_VERSION
|
|
|
|
- else
|
|
|
|
- VERSION=$DEFAULT_VERSION
|
|
|
|
- fi
|
|
|
|
-
|
|
|
|
## set current stable relase version
|
|
## set current stable relase version
|
|
STABLE_VERSION=@@VBUILDER_STABLE_VERSION@@
|
|
STABLE_VERSION=@@VBUILDER_STABLE_VERSION@@
|
|
|
|
|