Update jlmkr.sh
This commit is contained in:
parent
6a747bb01d
commit
b3730a970c
3
jlmkr.sh
3
jlmkr.sh
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue