mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
pull images and replace upstart scripts
This commit is contained in:
parent
8c94d6d9a5
commit
c1de2a725c
1 changed files with 2 additions and 1 deletions
|
@ -13,9 +13,10 @@ for i in $(ls /data/upstart/);
|
||||||
rm -rf /etc/init/$i || true;
|
rm -rf /etc/init/$i || true;
|
||||||
done
|
done
|
||||||
|
|
||||||
# Setup only T-Pot upstart scripts from images.conf
|
# Setup only T-Pot upstart scripts from images.conf and pull the images
|
||||||
for i in $(cat /data/images.conf);
|
for i in $(cat /data/images.conf);
|
||||||
do
|
do
|
||||||
|
docker pull dtagdevsec/$i:latest1603;
|
||||||
cp /data/upstart/"$i".conf /etc/init/;
|
cp /data/upstart/"$i".conf /etc/init/;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue