Update jlmkr.sh

This commit is contained in:
Jip-Hop 2023-01-30 19:35:21 +01:00
parent 6a747bb01d
commit b3730a970c
1 changed files with 1 additions and 2 deletions

View File

@ -304,7 +304,7 @@ create_jail() {
print print
read -p "Press any key to continue: " -n 1 -r reply && print read -p "Press any key to continue: " -n 1 -r reply && print
print print
lxc_cache_path=${lxc_cache_path} "${lxc_download_script_path}" --list --arch="${arch}" || : LXC_CACHE_PATH=${lxc_cache_path} "${lxc_download_script_path}" --list --arch="${arch}" || :
print print
print 'Choose from the DIST column.' print 'Choose from the DIST column.'
print print
@ -454,7 +454,6 @@ create_jail() {
# Config which systemd handles for us # Config which systemd handles for us
rm -f "${JAIL_ROOTFS_PATH}/etc/machine-id" rm -f "${JAIL_ROOTFS_PATH}/etc/machine-id"
rm -f "${JAIL_ROOTFS_PATH}/etc/resolv.conf" rm -f "${JAIL_ROOTFS_PATH}/etc/resolv.conf"
rm -f "${JAIL_ROOTFS_PATH}/etc/resolv.conf"
# https://github.com/systemd/systemd/issues/852 # https://github.com/systemd/systemd/issues/852
printf 'pts/%d\n' $(seq 0 10) >"${JAIL_ROOTFS_PATH}/etc/securetty" printf 'pts/%d\n' $(seq 0 10) >"${JAIL_ROOTFS_PATH}/etc/securetty"