7.8 boot-from-iso Command
Use the --boot-from-iso
command to configure a guest to boot from a specified diagnostic ISO
file.
Syntax
vm_maker --boot-from-iso ISO-file --domain guest-name
Options
- ISO-file: The name of the diagnostic ISO that you want to use to boot the specified guest.
- guest-name: The name of the guest that you want to boot using the specified ISO file.
Usage Notes
The --boot-from-iso
command configures the guest to boot using the
specified ISO file.
The output from the
--boot-from-iso
command includes
additional commands to boot the guest and configure the network while in
diagnostic mode.
The output also contains commands to stop the domain and reconfigure it to boot using its primary boot device. Use these commands when you are finished using the guest in diagnostic mode.
For example:
# vm_maker --boot-from-iso /root/home/diagnostics.iso --domain dm01vm01
[INFO] Running 'virsh undefine dm01vm01.example.com'...
[INFO] Running 'virsh define /var/log/exadatatmp/dm01vm01.example.com.xml.new.357b'...
[INFO] The domain 'dm01vm01.example.com' is ready for booting.
[INFO] Run the following command to boot from the diagnostic iso:
[INFO]
[INFO] virsh start dm01vm01.example.com --console
[INFO]
[INFO] If network is needed to be setup on the VM, run
[INFO] setup_management.sh from the console after the guest has booted.
[INFO]
[INFO] When finished, run the following commands to restore
[INFO] the domain to boot from its hard disk:
[INFO]
[INFO] vm_maker --stop-domain dm01vm01.example.com --force
[INFO] vm_maker --boot-from-hd --domain dm01vm01.example.com
Parent topic: VM_MAKER Command Reference