Revision history [back]

click to hide/show revision 1
initial version

how to add 2 devices with '--block-device' in 'nova boot'

when I try to create vm by 'nova boot' command, it's hard to add 2 devices into that vm. And, it always boot the second device 'bootindex=2' For example, I want to add 2 cdroms into vm:

nova boot --block-device source=image,dest=local,id=<>,bus=ide,type=cdrom,bootindex=1 --image xx1.iso --block-device source=image,dest=local,id=<>,bus=ide,type=cdrom,bootindex=2 --image xx2.iso --flavor xxxxx --nic net-id=<>,subnet-id=<> name

So, could anyone tell me how to add more than devices?