Open jowolf opened 10 years ago
Done in one step:
glance image-create --name Trusty --is-public true --container-format bare --disk-format qcow2 --property hypervisor_type=kvm --property architecture=x86_64 --location https://cloud-images.ubuntu.com/releases/14.04.1/release/ubuntu-14.04-server-cloudimg-amd64-disk1.img +----------------------------+--------------------------------------+ | Property | Value | +----------------------------+--------------------------------------+ | Property 'architecture' | x86_64 | | Property 'hypervisor_type' | kvm | | checksum | None | | container_format | bare | | created_at | 2014-09-21T19:50:51 | | deleted | False | | deleted_at | None | | disk_format | qcow2 | | id | 404be01c-46bb-4281-b708-91872570c5fd | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | Trusty | | owner | 57b688c1f17940f3bd1e34881249098f | | protected | False | | size | 255394304 | | status | active | | updated_at | 2014-09-21T19:50:53 | | virtual_size | None | +----------------------------+--------------------------------------+ joe@openstack14:~/openstack-dashboard$
Can't seem to launch images without editing properties:
glance image-update Ubu1404 --property hypervisor_type=kvm glance image-update Ubu1404 --property architecture=x86_64
then this works:
nova boot --flavor m1.small --image Ubu1404 --nic net-id=58b45bef-05aa-4ae5-8ace-4ba31294ca33 --security-group default --key-name Jokey cmdline-test5
Should also d/l a basic ubuntu image via a salt cmd