Skip to content
Snippets Groups Projects
Commit 750d6ff6 authored by Marcin Juszkiewicz's avatar Marcin Juszkiewicz
Browse files

init-runonce: use UEFI on aarch64

Nova does not yet defaults to UEFI ;(

Change-Id: I9f26d373f73d15fa571545b3c867beb07da88f48
parent 54351eba
No related branches found
No related tags found
No related merge requests found
...@@ -49,9 +49,15 @@ echo Downloading glance image. ...@@ -49,9 +49,15 @@ echo Downloading glance image.
if ! [ -f "${IMAGE}" ]; then if ! [ -f "${IMAGE}" ]; then
curl -L -o ./${IMAGE} ${IMAGE_URL}/${IMAGE} curl -L -o ./${IMAGE} ${IMAGE_URL}/${IMAGE}
fi fi
EXTRA_PROPERTIES=
if [ ${ARCH} == aarch64 ]; then
EXTRA_PROPERTIES="--property hw_firmware_type=uefi"
fi
echo Creating glance image. echo Creating glance image.
openstack image create --disk-format qcow2 --container-format bare --public \ openstack image create --disk-format qcow2 --container-format bare --public \
--property os_type=${IMAGE_TYPE} --file ./${IMAGE} ${IMAGE_NAME} --property os_type=${IMAGE_TYPE} ${EXTRA_PROPERTIES} --file ./${IMAGE} ${IMAGE_NAME}
echo Configuring neutron. echo Configuring neutron.
openstack network create --external --provider-physical-network physnet1 \ openstack network create --external --provider-physical-network physnet1 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment