mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
Add exec bit to script, sanitize image list
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
This commit is contained in:
committed by
Andrei Kvapil
parent
1f748d563f
commit
f891d0bee6
6
hack/list-images.sh
Normal file → Executable file
6
hack/list-images.sh
Normal file → Executable file
@@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
for node in 11 12 13; do
|
||||
talosctl -n 192.168.123.${node} -e 192.168.123.${node} images ls >> ./hosttmp/images-${SANDBOX_NAME}.txt
|
||||
talosctl -n 192.168.123.${node} -e 192.168.123.${node} images --namespace system ls >> ./hosttmp/images-${SANDBOX_NAME}.txt
|
||||
talosctl -n 192.168.123.${node} -e 192.168.123.${node} images ls >> /workspace/images.tmp
|
||||
talosctl -n 192.168.123.${node} -e 192.168.123.${node} images --namespace system ls >> /workspace/images.tmp
|
||||
done
|
||||
|
||||
while read _ name sha _ ; do echo $sha $name ; done < /workspace/images.tmp | sort -u > /workspace/images.txt
|
||||
|
||||
Reference in New Issue
Block a user