summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_onap/openstack/create_vm.sh
blob: 6597ae4522dd9ddf15724e1b99ec04e3844c20d6 (plain)
1
2
3
4
5
#!/bin/bash

source ~/devstack/openrc admin admin
netid=$(openstack network list --name private -f value | cut -f1 -d' ')
openstack server create --flavor 1 --image=cirros-0.3.4-x86_64-uec --nic net-id=$netid vm1