[Users] ovirt-shell, action vm vmhost start issue ?
Michael Pasternak
mpastern at redhat.com
Fri Dec 21 11:04:56 UTC 2012
Alex,
On 12/21/2012 12:35 PM, Alex Leonhardt wrote:
> Hi,
>
> am trying to start a VM with special kernel and initrd options :
>
> [oVirt shell (connected)]# action vm cent6 start --vm-os-kernel "/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz" --vm-os-initRd
> "/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img" --vm-os-boot "{ip=x.x.x.x;netmask=x.x.x.x;gateway=x.x.x.x;dns=x.x.x.x}"
>
> However, I keep getting this back :
>
> error: "initRd" is invalid argument segment.
>
> Eventhough, the help says that it's a valid command option :
1.
looks like api RSDL parameter documentation issue, it should be --vm-os-initrd
and not --vm-os-initRd, please file bug on this.
2. ip/gateway are not valid options for the --vm-os-boot, see help you have attached,
it's:
[--vm-os-boot: collection]
{
[boot.dev: string]
}
>
> ATTRIBUTE OPTIONS
>
> The following attribute options are understood. Note: this lists all
> available attribute options for action 'start'.
>
> [--vm-os-initRd: string]
> [--vm-domain-name: string]
> [--vm-placement_policy-host-id|name: string]
> [--vm-placement_policy-affinity: string]
> [--async: boolean]
> [--vm-os-kernel: string]
> [--grace_period-expiry: long]
> [--vm-display-type: string]
> [--vm-stateless: boolean]
> [--vm-os-cmdline: string]
> [--vm-domain-user-username: string]
> [--pause: boolean]
> [--vm-os-boot: collection]
> {
> [boot.dev: string]
> }
> [--vm-domain-user-password: string]
> [--correlation_id: anystring]
>
>
> Alex
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
More information about the Users
mailing list