diff options
Diffstat (limited to 'builder/modules.d')
| -rwxr-xr-x | builder/modules.d/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builder/modules.d/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh b/builder/modules.d/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh index 4039440d..c827ec8d 100755 --- a/builder/modules.d/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh +++ b/builder/modules.d/dnbd3-rootfs/hooks/copy-openslx-configuration-into-newroot.sh @@ -14,11 +14,11 @@ logging.set_level debug [[ "$SLX_LOG_FILE_PATH" == "" ]] && SLX_LOG_FILE_PATH=/var/log/openslx logging.set_log_file "$SLX_LOG_FILE_PATH" -mkdir --parents "${NEWROOT}${SLX_CONFIGURATION_LOCATION}" -cp "/etc/openslx" "${NEWROOT}${SLX_CONFIGURATION_LOCATION}/config" +mkdir --parents "${NEWROOT}/opt/openslx" +cp "/etc/openslx" "${NEWROOT}/opt/openslx/config" -echo '## Generated by dracut in stage3' >> "${NEWROOT}${SLX_CONFIGURATION_LOCATION}/config" -cat "/run/openslx/pxe-network.conf" >> "${NEWROOT}${SLX_CONFIGURATION_LOCATION}/config" +echo "## Generated by '$0' in stage3" >> "${NEWROOT}/opt/openslx/config" +cat "/run/openslx/pxe-network.conf" >> "${NEWROOT}/opt/openslx/config" # Set root/demo password for stage4, if set if [ -n "${SLX_ROOT_PASS}" ]; then |
