mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-10-14 04:19:14 +00:00
Script Parameter Selection
This commit is contained in:
parent
b0610bb43e
commit
92305a96f3
1 changed files with 10 additions and 1 deletions
|
@ -545,6 +545,15 @@ if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ] || [ "$myTPOT_DEPLOYMENT_TYPE" == "use
|
||||||
GREEDYBEAR=$?
|
GREEDYBEAR=$?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Let's ask the user for Greedybear flavor
|
||||||
|
if [ "$GREEDYBEAR" -eq 0 ]; then
|
||||||
|
myGREEDYBEAR_FLAVOR=$(dialog --keep-window --no-cancel --backtitle "$myBACKTITLE" --title "[ Choose Your Greedybear ]" --menu \
|
||||||
|
"\n" 17 70 1 \
|
||||||
|
"http" "Plain HTTP (default)" \
|
||||||
|
"https" "HTTPS enabled" \
|
||||||
|
"local" "Local Development" 3>&1 1>&2 2>&3 3>&-)
|
||||||
|
fi
|
||||||
|
|
||||||
# Let's ask for a secure tsec password if installation type is iso
|
# Let's ask for a secure tsec password if installation type is iso
|
||||||
if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
||||||
then
|
then
|
||||||
|
@ -920,7 +929,7 @@ systemctl restart console-setup.service
|
||||||
# Install Greedybear, if choosen
|
# Install Greedybear, if choosen
|
||||||
if [ "$GREEDYBEAR" -eq 0 ]; then
|
if [ "$GREEDYBEAR" -eq 0 ]; then
|
||||||
cd /opt/tpot/iso/installer
|
cd /opt/tpot/iso/installer
|
||||||
./install_greedybear.sh
|
./install_greedybear.sh --type=$myGREEDYBEAR_FLAVOR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$myTPOT_DEPLOYMENT_TYPE" == "auto" ];
|
if [ "$myTPOT_DEPLOYMENT_TYPE" == "auto" ];
|
||||||
|
|
Loading…
Reference in a new issue