Ask Your Question

Revision history [back]

Just download a ubuntu cloud image from https://cloud-images.ubuntu.com/, create an image and boot a vm with a keypair. Example:

# cd /tmp/
# wget https://cloud-images.ubuntu.com/vivid/current/vivid-server-cloudimg-amd64-disk1.img
glance image-create --name "UbuntuTest" --disk-format qcow2 --container-format bare --file vivid-server-cloudimg-amd64-disk1.img --is-public True --progress
 # nova boot --flavor m1.tiny --image UbuntuTest --nic net-id=<NET_ID> --key-name <KEY_PAIR> instancetest1
# ssh -i <KEY_PAIR> ubuntu@<INSTANCE_FLOATING_IP>

Regards

Just download a ubuntu cloud image from https://cloud-images.ubuntu.com/, create an image and boot a vm with a keypair. Example:

# cd /tmp/
# wget https://cloud-images.ubuntu.com/vivid/current/vivid-server-cloudimg-amd64-disk1.img
glance image-create --name "UbuntuTest" --disk-format qcow2 --container-format bare --file vivid-server-cloudimg-amd64-disk1.img --is-public True --progress
 # nova boot --flavor m1.tiny --image UbuntuTest --nic net-id=<NET_ID> --key-name <KEY_PAIR> instancetest1
# ssh -i <KEY_PAIR> ubuntu@<INSTANCE_FLOATING_IP>

The guide you are following is to create and configure an ubuntu image for use in cloud environments, what i say is to create a glance image from an already created ubuntu cloud image. Regards