mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
keep # DEV tags, point 22.04.0 to master, prep PR
This commit is contained in:
@ -6,7 +6,7 @@ packages:
|
||||
|
||||
runcmd:
|
||||
- curl -sS --retry 5 https://github.com
|
||||
- git clone -b 22.x https://github.com/telekom-security/tpotce /root/tpot
|
||||
- git clone https://github.com/telekom-security/tpotce /root/tpot
|
||||
- /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf
|
||||
- rm /root/tpot.conf
|
||||
- /sbin/shutdown -r now
|
||||
|
@ -704,7 +704,7 @@ if ! [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
||||
then
|
||||
fuBANNER "Cloning T-Pot"
|
||||
### DEV
|
||||
git clone https://github.com/telekom-security/tpotce -b 22.x /opt/tpot
|
||||
git clone https://github.com/telekom-security/tpotce /opt/tpot
|
||||
fi
|
||||
|
||||
# Let's create the T-Pot user
|
||||
|
@ -133,7 +133,7 @@ update-dev; \
|
||||
in-target update-grub; \
|
||||
cp /opt/installer -R /target/root; \
|
||||
### DEV
|
||||
in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \
|
||||
in-target git clone --depth=1 https://github.com/telekom-security/tpotce /opt/tpot; \
|
||||
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
|
||||
#in-target apt-get -y remove exim4-base; \
|
||||
#in-target apt-get -y autoremove; \
|
||||
|
@ -92,7 +92,7 @@ d-i debian-installer/splash boolean false
|
||||
d-i preseed/late_command string \
|
||||
cp /opt/installer -R /target/root; \
|
||||
### DEV
|
||||
in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \
|
||||
in-target git clone --depth=1 https://github.com/telekom-security/tpotce /opt/tpot; \
|
||||
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
|
||||
#in-target apt-get -y remove exim4-base; \
|
||||
#in-target apt-get -y autoremove; \
|
||||
|
@ -68,7 +68,7 @@ function fuSELFUPDATE () {
|
||||
return
|
||||
fi
|
||||
### DEV
|
||||
myRESULT=$(git diff --name-only origin/22.x | grep update.sh)
|
||||
myRESULT=$(git diff --name-only origin/master | grep update.sh)
|
||||
if [ "$myRESULT" == "update.sh" ];
|
||||
then
|
||||
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
||||
|
Reference in New Issue
Block a user