mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
fix manage-offline-container-images.sh create_registry (#11964)
This commit is contained in:
@@ -127,7 +127,7 @@ function register_container_images() {
|
|||||||
|
|
||||||
tar -zxvf ${IMAGE_TAR_FILE}
|
tar -zxvf ${IMAGE_TAR_FILE}
|
||||||
|
|
||||||
if [ "${create_registry}" ]; then
|
if ${create_registry}; then
|
||||||
sudo ${runtime} load -i ${IMAGE_DIR}/registry-latest.tar
|
sudo ${runtime} load -i ${IMAGE_DIR}/registry-latest.tar
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user