Browse Source

toolbox on

main
pvincent 8 months ago
parent
commit
68de5f9c82
  1. 7
      lib/install.sh

7
lib/install.sh

@ -28,8 +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)"
realcommand=$(realpath "$0")
echo sg "$NEW_GROUP" -c "EMAIL=$valid_email $0 SESSION_RELOAD_REQUIRED $TARGET"
realcommand="$MIAOU_BASEDIR/lib/install.sh"
echo sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" echo sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET"
sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET"
sg "$NEW_GROUP" -c bash sg "$NEW_GROUP" -c bash
@ -469,8 +468,8 @@ else
sudo_required sudo_required
install_miaou_bash install_miaou_bash
install_mandatory_commands install_mandatory_commands
# prepare_toolbox
# add_toolbox_sudoers
prepare_toolbox
add_toolbox_sudoers
prepare_nftables prepare_nftables
prepare_lxd prepare_lxd
preload_bookworm_image preload_bookworm_image

Loading…
Cancel
Save