This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:libvirt [2017/08/25 23:50] – jotasandoku | virtualization:libvirt [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| BASIC OPERATIONS\\ | BASIC OPERATIONS\\ | ||
| virsh shutdown guest1 --mode acpi | virsh shutdown guest1 --mode acpi | ||
| + | virsh destroy guest1 | ||
| + | virsh undefine guest1 | ||
| virsh suspend guest1 | virsh suspend guest1 | ||
| Line 15: | Line 16: | ||
| \\ | \\ | ||
| - | Network | + | Hypervisor level network |
| / | / | ||
| - | | + | Rest of them (virtual networks) are in: |
| + | / | ||
| \\ | \\ | ||
| **If you edit the network with "virsh net-edit", | **If you edit the network with "virsh net-edit", | ||
| Line 35: | Line 37: | ||
| virsh net-undefine < | virsh net-undefine < | ||
| \\ | \\ | ||
| + | For the libvirt dhcp '' | ||
| + | for net in $(virsh net-list --name); do virsh net-dhcp-leases ${net}; done | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Editing the attributes of a Virtual Machine | ||
| + | $ virsh dumpxml foo > / | ||
| + | $ virsh define / | ||
| + | \\ | ||
| + | Install restart and add vms from cli: | ||
| + | \\ | ||
| + | yum groupinstall Virtualization " | ||
| + | " | ||
| + | [[http:// | ||
| + | |||
| + | ---- | ||
| Logs location: | Logs location: | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | VIRTUALBOX\\: | ||
| + | - Seamless mode: Host+L (Host: right ctrl). Main menu hidden in seamlessmode: | ||
| + | - Exit capture mode: press host (right ctrl) key | ||
| + | CLI commands: | ||
| + | VBoxManage list runningvms | ||
| + | VBoxManage controlvm <vm> savestate | ||
| + | vboxmanage import / | ||
| + | VBoxManage startvm "EVE Community VM" --type=headless | ||
| + | VBoxManage controlvm "EVE Community VM" | ||
| + | | ||
| + | | ||
| + | vboxmanage showvminfo "EVE Community VM" | ||
| + | VBoxManage modifyvm "EVE Community VM" ... | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | VMWARE WORKSTATION: | ||
| + | |||
| + | / | ||
| + | https:// | ||
| + | vmrun list | ||
| + | ovftool --hideEula VMware-vSAN-Witness-201704001-5310538.ova | ||
| + | vmware-cmd # to change an existing machine settings | ||
| + | vmrun start / | ||
| + | vmrun start / | ||
| + | | ||
| + | __(general) VMWARE NOTES TRICKS__ | ||
| + | hwclock --hctosys | ||