diff --git a/tools/init-runonce b/tools/init-runonce index 8f134c091b..3756651a94 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -8,6 +8,7 @@ IMAGE_URL=http://download.cirros-cloud.net/0.3.4/ IMAGE=cirros-0.3.4-x86_64-disk.img IMAGE_NAME=cirros +IMAGE_TYPE=linux EXT_NET_CIDR='10.0.2.0/24' EXT_NET_RANGE='start=10.0.2.150,end=10.0.2.199' EXT_NET_GATEWAY='10.0.2.1' @@ -50,7 +51,7 @@ if ! [ -f "${IMAGE}" ]; then fi echo Creating glance image. openstack image create --disk-format qcow2 --container-format bare --public \ - --file ./${IMAGE} ${IMAGE_NAME} + --property os_type=${IMAGE_TYPE} --file ./${IMAGE} ${IMAGE_NAME} echo Configuring neutron. openstack network create --external --provider-physical-network physnet1 \