|
@ -28,7 +28,7 @@ function prepare_lxd { |
|
|
sudo groupadd --force "$NEW_GROUP" |
|
|
sudo groupadd --force "$NEW_GROUP" |
|
|
sudo usermod --append --groups "$NEW_GROUP" "$(whoami)" |
|
|
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 |
|
|
sg "$NEW_GROUP" -c bash |
|
|
kill -9 "$PPID" |
|
|
kill -9 "$PPID" |
|
|
# no further processing because exec has been called! |
|
|
# no further processing because exec has been called! |
|
@ -458,7 +458,7 @@ else |
|
|
# prepare_toolbox |
|
|
# prepare_toolbox |
|
|
# add_toolbox_sudoers |
|
|
# add_toolbox_sudoers |
|
|
prepare_nftables |
|
|
prepare_nftables |
|
|
prepare_lxd |
|
|
|
|
|
|
|
|
prepare_lxd $@ |
|
|
preload_bookworm_image |
|
|
preload_bookworm_image |
|
|
miaou_resolver |
|
|
miaou_resolver |
|
|
miaou_evalfrombashrc |
|
|
miaou_evalfrombashrc |
|
|