mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
keep # DEV tags, point 22.04.0 to master, prep PR
This commit is contained in:
parent
f52f1a8f4f
commit
020500d333
5 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ packages:
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
- curl -sS --retry 5 https://github.com
|
- 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
|
- /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf
|
||||||
- rm /root/tpot.conf
|
- rm /root/tpot.conf
|
||||||
- /sbin/shutdown -r now
|
- /sbin/shutdown -r now
|
||||||
|
|
|
@ -704,7 +704,7 @@ if ! [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
||||||
then
|
then
|
||||||
fuBANNER "Cloning T-Pot"
|
fuBANNER "Cloning T-Pot"
|
||||||
### DEV
|
### 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
|
fi
|
||||||
|
|
||||||
# Let's create the T-Pot user
|
# Let's create the T-Pot user
|
||||||
|
|
|
@ -133,7 +133,7 @@ update-dev; \
|
||||||
in-target update-grub; \
|
in-target update-grub; \
|
||||||
cp /opt/installer -R /target/root; \
|
cp /opt/installer -R /target/root; \
|
||||||
### DEV
|
### 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 sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
|
||||||
#in-target apt-get -y remove exim4-base; \
|
#in-target apt-get -y remove exim4-base; \
|
||||||
#in-target apt-get -y autoremove; \
|
#in-target apt-get -y autoremove; \
|
||||||
|
|
|
@ -92,7 +92,7 @@ d-i debian-installer/splash boolean false
|
||||||
d-i preseed/late_command string \
|
d-i preseed/late_command string \
|
||||||
cp /opt/installer -R /target/root; \
|
cp /opt/installer -R /target/root; \
|
||||||
### DEV
|
### 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 sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
|
||||||
#in-target apt-get -y remove exim4-base; \
|
#in-target apt-get -y remove exim4-base; \
|
||||||
#in-target apt-get -y autoremove; \
|
#in-target apt-get -y autoremove; \
|
||||||
|
|
|
@ -68,7 +68,7 @@ function fuSELFUPDATE () {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
### DEV
|
### 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" ];
|
if [ "$myRESULT" == "update.sh" ];
|
||||||
then
|
then
|
||||||
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
||||||
|
|
Loading…
Reference in a new issue