cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-21 02:07:05 +03:00
parent d58b384e0a
commit ee5d4dbb99
3 changed files with 9 additions and 4 deletions

View File

@ -657,7 +657,6 @@ pctBaseCreate(){
#SWAP=
#DRIVE=
#PCT_EXTRA=
# XXX
pctCreate(){
# build network args...
local interfaces_args=()

View File

@ -56,12 +56,18 @@ OPTS_STAGE_2="\
#----------------------------------------------------------------------
echo "# Building config..."
buildAssets
echo "# Creating CT..."
pctCreateDebian $ID "$PASS"
echo "# Installing dependencies..."
@ lxc-attach $ID -- bash -c 'yes | apt install vim htop iftop iotop tmux mc sudo'
echo "# Copying assets..."
pctPushAssets $ID
echo "# Setup: users..."
while true ; do
xread "user name for ssh: " SSH_USER

View File

@ -57,12 +57,12 @@ buildAssets
echo "# Creating CT..."
pctCreateAlpine $ID "$PASS"
echo "# Copying assets..."
pctPushAssets $ID
echo "# Installing dependencies..."
@ lxc-attach $ID apk add bash syncthing logrotate
echo "# Copying assets..."
pctPushAssets $ID
echo "# Setup: sysctl..."
@ lxc-attach $ID rc-update add sysctl