diff options
Diffstat (limited to 'src/vagrant/kubeadm_onap/openstack/create_vm.sh')
-rw-r--r-- | src/vagrant/kubeadm_onap/openstack/create_vm.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_onap/openstack/create_vm.sh b/src/vagrant/kubeadm_onap/openstack/create_vm.sh new file mode 100644 index 0000000..6597ae4 --- /dev/null +++ b/src/vagrant/kubeadm_onap/openstack/create_vm.sh @@ -0,0 +1,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 |