File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -701,8 +701,11 @@ pip3 install elasticsearch-curator yq
701701hash -r
702702
703703# Cloning T-Pot from GitHub
704- fuBANNER " Cloning T-Pot"
705- git clone https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot
704+ if ! [ " $myTPOT_DEPLOYMENT_TYPE " == " iso" ];
705+ then
706+ fuBANNER " Cloning T-Pot"
707+ git clone https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot
708+ fi
706709
707710# Let's create the T-Pot user
708711fuBANNER " Create user"
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ in-target apt-get -y install grub-pc; \
131131in-target grub-install --force $(debconf-get partman-auto/disk); \
132132update-dev; \
133133in-target update-grub; \
134- # in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot; \
134+ in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot; \
135135in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
136136#in-target apt-get -y remove exim4-base; \
137137#in-target apt-get -y autoremove; \
You can’t perform that action at this time.
0 commit comments