From b30c73ed8e501b5587a4ad22ff3723e9bd6f75a1 Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 1 Mar 2024 22:37:02 +0400 Subject: [PATCH] readme for fressh install --- README.md | 3 ++- lib/install.sh | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6403553..b78c8b4 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,8 @@ Debian12 fresh install * # log as normal user with sudo group * apt install -y git * git clone https://git.artcode.re/miaou/miaou.git -* ./miaou/lib/install.sh dev +* cd miaou + * ./lib/install.sh dev Nested container test drive ---------------------------- diff --git a/lib/install.sh b/lib/install.sh index cb778ca..06fcd50 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -28,7 +28,7 @@ function prepare_lxd { sudo groupadd --force "$NEW_GROUP" sudo usermod --append --groups "$NEW_GROUP" "$(whoami)" - sg "$NEW_GROUP" -c "$0 SESSION_RELOAD_REQUIRED $TARGET $@" + sg "$NEW_GROUP" -c "$0 SESSION_RELOAD_REQUIRED $TARGET" sg "$NEW_GROUP" -c bash kill -9 "$PPID" # no further processing because exec has been called! @@ -437,7 +437,7 @@ else prepare_toolbox add_toolbox_sudoers prepare_nftables - prepare_lxd "$@" + prepare_lxd preload_bookworm_image miaou_resolver miaou_evalfrombashrc @@ -447,8 +447,7 @@ else if [[ "$SESSION_RELOAD_REQUIRED" == true ]]; then echoinfo "successful session installation" - echowarn "be aware: the current session has been reloaded, due to new group <$NEW_GROUP>." - echowarn "-> exit means kill!" + echowarn "be aware: the current session has been reloaded, due to new group <$NEW_GROUP>. Next time you type \`exit\`, this session will emit a kill signal!" else echoinfo "successful installation" fi