Skip to content

Instantly share code, notes, and snippets.

@goffinet
Last active June 9, 2017 18:14
Show Gist options
  • Select an option

  • Save goffinet/e2104f0b494b18df1ed8fef236bdf595 to your computer and use it in GitHub Desktop.

Select an option

Save goffinet/e2104f0b494b18df1ed8fef236bdf595 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd
cd devstack
#. openrc user project
#OS_PASSWORD=
image=xenial-ubuntu
instance_name=$1
sec-group=
openstack server create \
--image $image \
--flavor ds512M \
--security-group $sec-group \
$instance_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment