readme for fressh install

This commit is contained in:
pvincent
2024-03-01 22:37:02 +04:00
parent 25e9d5a5c5
commit b30c73ed8e
2 changed files with 5 additions and 5 deletions
+2 -1
View File
@@ -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
----------------------------
+3 -4
View File
@@ -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