libvirt:virt-install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| libvirt:virt-install [2025/09/11 16:34] – jonathan | libvirt:virt-install [2025/09/23 19:21] (current) – jonathan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== virt-install - iscsi ===== | ==== virt-install - iscsi ===== | ||
| - | < | + | < |
| + | virt-install --name squid \ | ||
| + | --memory 8192 --vcpus 4 --cpu host-passthrough | ||
| + | --os-variant ubuntu24.04 --virt-type kvm \ | ||
| + | --disk path=/ | ||
| + | --cdrom / | ||
| + | --network network=vlan222, | ||
| + | --graphics vnc --channel unix, | ||
| + | --controller type=usb, | ||
| + | --controller type=scsi, | ||
| + | --controller type=sata --controller type=virtio-serial \ | ||
| + | --rng / | ||
| + | </ | ||
| + | |||
| + | <code -- virt-install with ISCSI> | ||
| virt-install --name myFirstVM \ | virt-install --name myFirstVM \ | ||
| --memory 4096 --vcpus 4 --cpu host-passthrough | --memory 4096 --vcpus 4 --cpu host-passthrough | ||
| Line 14: | Line 28: | ||
| </ | </ | ||
| - | < | + | < |
| virt-install --name MyFirstVM \ | virt-install --name MyFirstVM \ | ||
| --memory 4096 --vcpus 4 --cpu host-passthrough | --memory 4096 --vcpus 4 --cpu host-passthrough | ||
| Line 25: | Line 39: | ||
| --console pty, | --console pty, | ||
| --noautoconsole | --noautoconsole | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code -- uefi> | ||
| + | virt-install --name xrv9k \ | ||
| + | --memory 16384 --vcpus 4,cores=1 --cpu host-passthrough | ||
| + | --virt-type kvm \ | ||
| + | --osinfo detect=on, | ||
| + | --boot uefi, | ||
| + | --disk path=/ | ||
| + | --network network=ovsbr0, | ||
| + | --graphics vnc --channel unix, | ||
| + | --controller type=usb, | ||
| + | --controller type=sata --controller type=virtio-serial \ | ||
| + | --rng / | ||
| </ | </ | ||
libvirt/virt-install.1757608471.txt.gz · Last modified: by jonathan
