readme for fressh install
This commit is contained in:
+3
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user