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/17 13:19] – jonathan | libvirt:virt-install [2025/11/20 17:20] (current) – jonathan | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| </ | </ | ||
| - | < | + | < |
| virt-install --name myFirstVM \ | virt-install --name myFirstVM \ | ||
| --memory 4096 --vcpus 4 --cpu host-passthrough | --memory 4096 --vcpus 4 --cpu host-passthrough | ||
| Line 28: | 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 39: | 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 / | ||
| </ | </ | ||
| Line 97: | Line 112: | ||
| addresses: [192.168.30.5/ | addresses: [192.168.30.5/ | ||
| </ | </ | ||
| + | |||
| + | === Encrypt password ==== | ||
| + | < | ||
| + | [root@server1 ~]# mkpasswd -m sha-512 " | ||
| + | $6$GHv145MbdJYyYbGg$lxUkmndpkGqeTmoEZDRefcWoKhimxzR6LaH4D3E818b78r2yAdfpJQ1RJxGcODb6zr.Mc/ | ||
| + | </ | ||
| + | |||
libvirt/virt-install.1758115151.txt.gz · Last modified: by jonathan
