MT#10093 Fix PXE_IMAGES_PATH handling (create folder + read-only)

Change-Id: I0a14b321255e87f34d975a01c19754cd1bb842bf
changes/97/897/1
Alexander Lutay 10 years ago
parent 68673df8a3
commit b54a1563a2

@ -1479,8 +1479,9 @@ if "$NGCP_INSTALLER" ; then
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"
logit "Mounting GRML image for ngcpcfg-api in ngcp-installer..."
mkdir -p "${TARGET}/$PXE_IMAGES_PATH"
mount --read-only --bind "$GRML_PXE_IMAGES_PATH" "${TARGET}/$PXE_IMAGES_PATH"
fi
set_deploy_status "ngcp-installer"

Loading…
Cancel
Save