mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
Test connection before git clone
Test the connection to github before cloning the repository. Previously it could happen that the git clone failed due to the external network connection not being established immediately after boot.
This commit is contained in:
parent
0e1a86f93b
commit
7763ceff4c
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ packages:
|
|||
- git
|
||||
|
||||
runcmd:
|
||||
- curl -sS --retry 5 https://github.com
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue