From 6f98c16505c772436240166b24ff2d975351877f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 6 Jan 2024 01:54:38 +0300 Subject: [PATCH] tweak... Signed-off-by: Alex A. Naanou --- .pct-helpers | 2 +- ssh/make.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pct-helpers b/.pct-helpers index eda67a0..2d111fc 100644 --- a/.pct-helpers +++ b/.pct-helpers @@ -350,7 +350,7 @@ pctCreateAlpine(){ } pctCreateDebian(){ local TEMPLATE - getLatestTemplate debian TEMPLATE + getLatestTemplate 'debian-*-standard' TEMPLATE pctCreate $1 "$TEMPLATE" "$2" "$3" diff --git a/ssh/make.sh b/ssh/make.sh index fd4cf6c..8ad7f3a 100755 --- a/ssh/make.sh +++ b/ssh/make.sh @@ -39,7 +39,6 @@ REBOOT=${REBOOT:=1} readVars -xread "ssh user name: " USER #---------------------------------------------------------------------- @@ -74,6 +73,7 @@ echo "# Setup: sshd..." @ lxc-attach $ID -- systemctl enable ssh.socket --now echo "# Setup: user..." +xread "ssh user name: " USER @ lxc-attach $ID adduser $USER echo "# Post config..."