It can work in both ways: 1) --os-boot boot.dev=hd 2) --os-boot dev=hd Please take a look: [RHEVM shell (connected)]# create vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 id : 12d568b1-46c8-4205-8f92-d8723964dd87 name : restvm_LOCAL description : Test VM LOCA cluster-id : 99408929-82cf-4dc7-a532-9d998063fa95 cpu-topology-cores : 1 cpu-topology-sockets : 1 creation_time : 2012-09-20T13:50:59.809+03:00 display-allow_reconnect : False display-monitors : 1 display-type : spice high_availability-enabled : False high_availability-priority: 0 memory : 1073741824 memory_policy-guaranteed : 1073741824 origin : rhev os-boot-dev : hd os-type : unassigned placement_policy-affinity : migratable quota-id : 00000000-0000-0000-0000-000000000000 stateless : False status-state : down template-id : 00000000-0000-0000-0000-000000000000 type : desktop usb-enabled : False [RHEVM shell (connected)]# create vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL1' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 id : 5081a5b9-cf14-498d-9796-cafeeba1a43e name : restvm_LOCAL1 description : Test VM LOCA cluster-id : 99408929-82cf-4dc7-a532-9d998063fa95 cpu-topology-cores : 1 cpu-topology-sockets : 1 creation_time : 2012-09-20T13:51:16.357+03:00 display-allow_reconnect : False display-monitors : 1 display-type : spice high_availability-enabled : False high_availability-priority: 0 memory : 1073741824 memory_policy-guaranteed : 1073741824 origin : rhev os-boot-dev : hd os-type : unassigned placement_policy-affinity : migratable quota-id : 00000000-0000-0000-0000-000000000000 stateless : False status-state : down template-id : 00000000-0000-0000-0000-000000000000 type : desktop usb-enabled : False [RHEVM shell (connected)]# version: rhevm-cli-3.1.0.12-1.el6ev.noarch
(In reply to comment #0) > It can work in both ways: > 1) --os-boot boot.dev=hd > 2) --os-boot dev=hd > only #1 is valid
if only #1 is valid, being able to use #2 is a bug, not an RFE, IMO. Or am I missing something?
(In reply to comment #2) > if only #1 is valid, being able to use #2 is a bug, not an RFE, IMO. Or am I > missing something? indeed.
[root@ilia-rhevm ~]# rpm -q rhevm-cli rhevm-cli-3.3.0.3-1.el6ev.noarch [root@ilia-rhevm ~]# [root@ilia-rhevm ~]# /usr/bin/rhevm-shell -c --url=https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I Password: ========================================== >>> connected to RHEVM manager 3.3.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# create vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 *** Unknown syntax: create vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 [RHEVM shell (connected)]# add vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot boot.dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 id : 13bf5b70-c90d-4fd3-80b9-aaf50cc26463 name : restvm_LOCAL description : Test VM LOCA cluster-id : 99408929-82cf-4dc7-a532-9d998063fa95 cpu-topology-cores : 1 cpu-topology-sockets : 1 creation_time : 2013-07-03 11:43:43.186000+03:00 delete_protected : False display-allow_override : False display-monitors : 1 display-smartcard_enabled : False display-type : spice high_availability-enabled : False high_availability-priority: 0 memory : 1073741824 memory_policy-ballooning : True memory_policy-guaranteed : 1073741824 origin : ovirt os-boot-dev : hd os-type : unassigned placement_policy-affinity : migratable quota-id : 00000000-0000-0000-0000-000000000000 stateless : False status-state : down template-id : 00000000-0000-0000-0000-000000000000 type : desktop usb-enabled : False [RHEVM shell (connected)]# add vm --description 'Test VM LOCA' --cluster-name Default --name 'restvm_LOCAL1' --display-type 'spice' --display-monitors 1 --type 'desktop' --template-id '00000000-0000-0000-0000-000000000000' --memory 1073741824 --os-boot dev=hd --os-type 'unassigned' --cpu-topology-cores 1 --cpu-topology-sockets 1 error: "dev=hd" is invalid segment at option "--os-boot". [RHEVM shell (connected)]#
Closing - RHEV 3.3 Released