9 echo "Usage: novaboot.sh {network} {security-group-name} {vm#} {image} {flavor}
10 ie. novaboot.sh net1 client_sg 3 lubuntu|cirros-0.3.2-x86_64-uec 6"
15 : ${IMAGE:=cirros-0.3.4-x86_64-uec}
18 IMAGE_ID=`nova image-list | egrep $IMAGE | awk '{print $2}'`
21 PORT_ID=`neutron port-create $NETWORK --security-group $SEC_GRP | egrep "\sid\s" | awk '{print $4}'`
22 nova boot --image $IMAGE_ID --flavor $FLAVOR --nic port-id=$PORT_ID --security-groups $SEC_GRP "$NETWORK-$SEC_GRP-$VM" --availability-zone nova:devstack-control