Add vagrant-libvirt:
This gets the refactored sandbox back on par with the existing sandbox for vagrant-libvirt functionality. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
quay.io/tinkerbell/tink-worker:latest
|
||||
quay.io/tinkerbell-actions/image2disk:v1.0.0
|
||||
quay.io/tinkerbell-actions/cexec:v1.0.0
|
||||
quay.io/tinkerbell-actions/writefile:v1.0.0
|
||||
quay.io/tinkerbell/tink-worker:latest tinkerbell/tink-worker:latest
|
||||
quay.io/tinkerbell/tink-worker:latest tinkerbell/tink-worker:sha-5e1f0fd8
|
||||
quay.io/tinkerbell-actions/image2disk:v1.0.0 image2disk:v1.0.0
|
||||
quay.io/tinkerbell-actions/cexec:v1.0.0 cexec:v1.0.0
|
||||
quay.io/tinkerbell-actions/writefile:v1.0.0 writefile:v1.0.0
|
@ -10,9 +10,10 @@ main() {
|
||||
local images_file="$4"
|
||||
# this confusing IFS= and the || is to capture the last line of the file if there is no newline at the end
|
||||
while IFS= read -r img || [ -n "${img}" ]; do
|
||||
# trim trailing whitespace
|
||||
local imgr="$(echo "${img}" | sed 's/ *$//g')"
|
||||
skopeo copy --all --dest-tls-verify=false --dest-creds="${reg_user}":"${reg_pw}" docker://"${imgr}" docker://"${reg_url}"/$(basename "${imgr}")
|
||||
# file is expected to have src and dst images delimited by a space
|
||||
local src_img="$(echo "${img}" | cut -d' ' -f1)"
|
||||
local dst_img="$(echo "${img}" | cut -d' ' -f2)"
|
||||
skopeo copy --all --dest-tls-verify=false --dest-creds="${reg_user}":"${reg_pw}" docker://"${src_img}" docker://"${reg_url}"/"${dst_img}"
|
||||
done <"${images_file}"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user