diff --git a/manifests/function/baremetal-operator/entrypoint/init-bootstrap b/manifests/function/baremetal-operator/entrypoint/init-bootstrap index 8830561ae..becd4af54 100644 --- a/manifests/function/baremetal-operator/entrypoint/init-bootstrap +++ b/manifests/function/baremetal-operator/entrypoint/init-bootstrap @@ -32,12 +32,17 @@ done popd pushd /shared/html/images -STATUSCODE=$(curl --silent --insecure --location -O --write-out "%{http_code}" ${IRONIC_PYTHON_AGENT}) +STATUSCODE=$(curl --silent --insecure --location -O --write-out "%{http_code}" ${IPA_RAMDISK}) +if test $STATUSCODE -ne 200; then + echo "Failed to load ${ARTS[${art}]}" + exit 1 +fi + +STATUSCODE=$(curl --silent --insecure --location -O --write-out "%{http_code}" ${IPA_KERNEL}) if test $STATUSCODE -ne 200; then echo "Failed to load ${ARTS[${art}]}" exit 1 fi -tar -xf ironic-python-agent.tar popd chmod -R 0777 /shared/html diff --git a/manifests/function/baremetal-operator/ironic-vars.yaml b/manifests/function/baremetal-operator/ironic-vars.yaml index 2987e2b55..f8d064548 100644 --- a/manifests/function/baremetal-operator/ironic-vars.yaml +++ b/manifests/function/baremetal-operator/ironic-vars.yaml @@ -9,12 +9,13 @@ data: DHCP_RANGE: "192.168.10.200,192.168.10.250" PROVISIONING_INTERFACE: "pxe0" HTTP: "80" - DEPLOY_KERNEL_PATH: "/images/ironic-python-agent.kernel" - DEPLOY_RAMDISK_PATH: "/images/ironic-python-agent.initramfs" + DEPLOY_KERNEL_PATH: "/images/tinyipa-stable-ussuri.vmlinuz" + DEPLOY_RAMDISK_PATH: "/images/tinyipa-stable-ussuri.gz" FAST_TRACK: "false" API_WORKERS: "4" AUTOMATED_CLEAN: "true" IRONIC_VOLUME_CAPACITY: "10Gi" IRONIC_STORAGE_CLASS_NAME: "default" IRONIC_HOST_PATH: "/opt/metal3-dev-env/ironic/" - IRONIC_PYTHON_AGENT: "https://images.rdoproject.org/master/rdo_trunk/current-tripleo/ironic-python-agent.tar" + IPA_RAMDISK: "https://tarballs.opendev.org/openstack/ironic-python-agent/tinyipa/files/tinyipa-stable-ussuri.gz" + IPA_KERNEL: "https://tarballs.opendev.org/openstack/ironic-python-agent/tinyipa/files/tinyipa-stable-ussuri.vmlinuz"