mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-02-12 18:41:55 +00:00
fix: set debootstrap docker hostname
Used because it's pulled during debootstrap for ssl/cert generation, so set it to what it will be by default on the UNVR/UNVR Pro.
This commit is contained in:
parent
3f90bd2357
commit
7858593f11
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ sudo rm -f ${build_path}/rootfs/placeholder ${build_path}/rootfs/boot/placeholde
|
||||||
# SAFETY NET - trap it, even tho we have makefile with set -e
|
# SAFETY NET - trap it, even tho we have makefile with set -e
|
||||||
debug_msg "Docker: debootstraping..."
|
debug_msg "Docker: debootstraping..."
|
||||||
trap "sudo umount ${build_path}/rootfs/boot; sudo umount ${build_path}/rootfs; sudo losetup -d ${boot_loop_dev}; sudo losetup -d ${rootfs_loop_dev}" SIGINT SIGTERM
|
trap "sudo umount ${build_path}/rootfs/boot; sudo umount ${build_path}/rootfs; sudo losetup -d ${boot_loop_dev}; sudo losetup -d ${rootfs_loop_dev}" SIGINT SIGTERM
|
||||||
docker run --ulimit nofile=1024 --rm --privileged --cap-add=ALL -v /dev:/dev -v "${root_path}:/repo:Z" -e BOARD="${BOARD}" -it ${docker_tag} /repo/scripts/docker/run_debootstrap.sh
|
docker run --ulimit nofile=1024 --rm --privileged --cap-add=ALL -h unvr-nas -v /dev:/dev -v "${root_path}:/repo:Z" -e BOARD="${BOARD}" -it ${docker_tag} /repo/scripts/docker/run_debootstrap.sh
|
||||||
|
|
||||||
debug_msg "Note: You might be asked for your password for losetup and umount since we are cleaning up mounts..."
|
debug_msg "Note: You might be asked for your password for losetup and umount since we are cleaning up mounts..."
|
||||||
debug_msg "Cleaning up..."
|
debug_msg "Cleaning up..."
|
||||||
|
|
Loading…
Reference in a new issue