|
|
@ -29,9 +29,8 @@ function prepare_lxd { |
|
|
|
sudo usermod --append --groups "$NEW_GROUP" "$(whoami)" |
|
|
|
|
|
|
|
realcommand="$MIAOU_BASEDIR/lib/install.sh" |
|
|
|
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 'bash -l' |
|
|
|
sg "$NEW_GROUP" -c bash |
|
|
|
kill -9 "$PPID" |
|
|
|
# no further processing because exec has been called! |
|
|
|
|
|
|
|