Problem on running "nova boot myserver"

Stephen Liu satimis at yahoo.com
Wed Aug 1 02:11:44 UTC 2012


Hi all,


I'm following;
Getting started with OpenStack on Fedora 17
http://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17

learning OpenStack.  


I'm stuck here:-

Launch an instance: 
$ nova boot myserver --flavor 2 --key_name mykey \
> --image $(glance index | grep f16-jeos | awk '{print $1}')
usage: nova boot [--flavor <flavor>] [--image <image>] [--meta <key=value>]
                 [--file <dst-path=src-path>] [--key_name <key_name>]
                 [--user_data <user-data>]
                 [--availability_zone <availability-zone>]
                 [--security_groups <security_groups>]
                 [--block_device_mapping <dev_name=mapping>]
                 [--hint <key=value>]
                 [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr>]
                 [--config-drive <value>] [--poll]
                 <name>
error: argument --image: expected one argument
Try `nova help boot' for more information.

Please help.  TIA

B.R.
SL



More information about the cloud mailing list