|
|
|
|
@ -63,6 +63,8 @@ DEBIAN_REPO_HOST="debian.sipwise.com"
|
|
|
|
|
SIPWISE_REPO_HOST="deb.sipwise.com"
|
|
|
|
|
SIPWISE_REPO_TRANSPORT="http"
|
|
|
|
|
DPL_MYSQL_REPLICATION=true
|
|
|
|
|
GRML_PXE_IMAGES_PATH="/lib/live/mount/medium"
|
|
|
|
|
PXE_IMAGES_PATH="/tmp/grml_pxe"
|
|
|
|
|
|
|
|
|
|
# if TARGET_DISK environment variable is set accept it
|
|
|
|
|
if [ -n "$TARGET_DISK" ] ; then
|
|
|
|
|
@ -1410,6 +1412,7 @@ gen_installer_config () {
|
|
|
|
|
if "$CARRIER_EDITION" ; then
|
|
|
|
|
cat > ${TARGET}/etc/ngcp-installer/config_deploy.inc << EOF
|
|
|
|
|
CROLE="${CROLE}"
|
|
|
|
|
PXE_IMAGES_PATH="${PXE_IMAGES_PATH}"
|
|
|
|
|
EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
@ -1475,6 +1478,11 @@ if "$NGCP_INSTALLER" ; then
|
|
|
|
|
# generate debian/sipwise repos
|
|
|
|
|
set_repos
|
|
|
|
|
|
|
|
|
|
if "$CARRIER_EDITION"; then
|
|
|
|
|
# mount GRML linux image to be copied into ngcpcfg-api folders by ngcp-installer
|
|
|
|
|
mount --bind "$GRML_PXE_IMAGES_PATH" "${TARGET}/$PXE_IMAGES_PATH"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
set_deploy_status "ngcp-installer"
|
|
|
|
|
|
|
|
|
|
# install ngcp-installer
|
|
|
|
|
@ -2355,6 +2363,9 @@ fi
|
|
|
|
|
|
|
|
|
|
# don't leave any mountpoints
|
|
|
|
|
sync
|
|
|
|
|
if "$CARRIER_EDITION"; then
|
|
|
|
|
umount ${TARGET}/$PXE_IMAGES_PATH 2>/dev/null || true
|
|
|
|
|
fi
|
|
|
|
|
umount ${TARGET}/proc 2>/dev/null || true
|
|
|
|
|
umount ${TARGET}/sys 2>/dev/null || true
|
|
|
|
|
umount ${TARGET}/dev/pts 2>/dev/null || true
|
|
|
|
|
|