|
...
|
...
|
@@ -74,7 +74,8 @@ IRONIC_DEPLOY_RAMDISK=${IRONIC_DEPLOY_RAMDISK:-}
|
|
74
|
74
|
IRONIC_DEPLOY_KERNEL=${IRONIC_DEPLOY_KERNEL:-}
|
|
75
|
75
|
IRONIC_DEPLOY_ELEMENT=${IRONIC_DEPLOY_ELEMENT:-deploy-ironic}
|
|
76
|
76
|
|
|
77
|
|
-IRONIC_AGENT_TARBALL=${IRONIC_AGENT_TARBALL:-http://tarballs.openstack.org/ironic-python-agent/coreos/ipa-coreos.tar.gz}
|
|
|
77
|
+IRONIC_AGENT_KERNEL_URL=${IRONIC_AGENT_KERNEL_URL:-http://tarballs.openstack.org/ironic-python-agent/coreos/files/coreos_production_pxe.vmlinuz}
|
|
|
78
|
+IRONIC_AGENT_RAMDISK_URL=${IRONIC_AGENT_RAMDISK_URL:-http://tarballs.openstack.org/ironic-python-agent/coreos/files/coreos_production_pxe-oem.cpio.gz}
|
|
78
|
79
|
|
|
79
|
80
|
# Which deploy driver to use - valid choices right now
|
|
80
|
81
|
# are 'pxe_ssh' and 'agent_ssh'.
|
|
...
|
...
|
@@ -594,12 +595,8 @@ function upload_baremetal_ironic_deploy {
|
|
594
|
594
|
else
|
|
595
|
595
|
if [ "$IRONIC_DEPLOY_DRIVER" == "agent_ssh" ]; then
|
|
596
|
596
|
# download the agent image tarball
|
|
597
|
|
- wget "$IRONIC_AGENT_TARBALL" -O ironic_agent_tarball.tar.gz
|
|
598
|
|
- tar zxfv ironic_agent_tarball.tar.gz
|
|
599
|
|
- mv UPLOAD/coreos_production_pxe.vmlinuz $IRONIC_DEPLOY_KERNEL_PATH
|
|
600
|
|
- mv UPLOAD/coreos_production_pxe_image-oem.cpio.gz $IRONIC_DEPLOY_RAMDISK_PATH
|
|
601
|
|
- rm -rf UPLOAD
|
|
602
|
|
- rm ironic_agent_tarball.tar.gz
|
|
|
597
|
+ wget "$IRONIC_AGENT_KERNEL_URL" -O $IRONIC_DEPLOY_KERNEL_PATH
|
|
|
598
|
+ wget "$IRONIC_AGENT_RAMDISK_URL" -O $IRONIC_DEPLOY_RAMDISK_PATH
|
|
603
|
599
|
else
|
|
604
|
600
|
die $LINENO "Deploy kernel+ramdisk files don't exist and their building was disabled explicitly by IRONIC_BUILD_DEPLOY_RAMDISK"
|
|
605
|
601
|
fi
|