HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
—Q Quietly performs the command. When used with the -a,
-d, -m, -S, or -R options, the reminder to back up the
NVRAM file is suppressed.
-P vm-name
Specifies the name of the virtual machine whose current
NVRAM file is used.
-p vm-number
Specifies the number of the virtual machine whose current
NVRAM file is used. The vm_number is assigned when
a virtual machine is created and is displayed by the
hpvmstatus command.
-f filename
Specifies the name of an NVRAM file that is not a virtual
machine's current NVRAM file.
NOTE: The -P, -p and -f options are mutually exclusive.
RETURN VALUES
The hpvmnvram command exits with one of the following values:
0: Successful completion.
1: One or more error conditions
occurred.
DIAGNOSTICS
The hpvmnvram command displays error messages on stderr for any of the following conditions:
• An invalid option is specified.
• An invalid value is specified for an option.
• The vm-name or vm-number does not exist, cannot be accessed, is not a virtual machine,
or is corrupt.
• The NVRAM file does not exist, cannot be accessed, or is corrupt.
• A value was omitted for an argument that requires one, or a value was supplied for an
argument that does not take one.
EXAMPLES
List all boot options for the virtual machine named guest3:
# hpvmnvram -P guest3 -l
Boot EFI Boot
Order Variable Description
===== ======== ===================================================
1 Boot0000 EFI Shell [Built-in]
Add /dev/rdisk/disk7 as first boot option for the virtual machine named guest3:
# hpvmnvram -P guest3 -a /dev/rdisk/disk7
You should make a backup copy of this nvram file before proceeding with changes.
Continue? Enter Y or N:y
hpvmnvram: Adding boot option 'Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 0, Lun 0' (/dev/rdisk/disk7) ...
Boot EFI Boot
Order Variable Description
===== ======== ===================================================
1 Boot0001 Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 0, Lun 0
2 Boot0000 EFI Shell [Built-in]
Add /hpvm/disk1 as second boot option for the virtual machine named guest3 and specify the
EFI file path to \efi\newpath\hpux:
# hpvmnvram -P guest3 -a /hpvm/disk1:2:"\efi\newpath\hpux"
You should make a backup copy of this nvram file before proceeding with changes.
Continue? Enter Y or N:y
hpvmnvram: Adding boot option 'Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 2, Lun 0' (/hpvm/disk1) ...
Boot EFI Boot
Order Variable Description
===== ======== ===================================================
1 Boot0001 Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 0, Lun 0
316