Skip to content

Instantly share code, notes, and snippets.

@hagix9
Created December 15, 2015 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagix9/326cc44d6ea7942b2919 to your computer and use it in GitHub Desktop.
Save hagix9/326cc44d6ea7942b2919 to your computer and use it in GitHub Desktop.
wget http://cloud-images.ubuntu.com/wily/current/wily-server-cloudimg-amd64-root.tar.gz
openstack image create \
--public \
--container-format=bare \
--disk-format=raw \
--property architecture="x86_64" \
--property hypervisor_type=lxc \
--file wily-server-cloudimg-amd64-root.tar.gz \
ubuntu1510-lxc
INT_NET_ID=`neutron net-list | grep internal_network01 | awk '{ print $2 }'`
nova boot --flavor 1 --image ubuntu1510-lxc --security_group default --key-name mykey --nic net-id=$INT_NET_ID ubuntu01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment