User Tools

Site Tools


virtualization:libvirt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
virtualization:libvirt [2019/04/21 09:24] jotasandokuvirtualization: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 36: Line 37:
   virsh net-undefine <name>   virsh net-undefine <name>
 \\ \\
 +For the libvirt dhcp ''virsh net-dhcp-leases ${net}''
 +   for net in $(virsh net-list --name); do virsh net-dhcp-leases ${net}; done 
  
 ---- ----
Line 62: Line 65:
   VBoxManage list runningvms   VBoxManage list runningvms
   VBoxManage controlvm <vm> savestate   VBoxManage controlvm <vm> savestate
-  VBoxManage startvm "Windows XP"+  vboxmanage import /var/tmp/eveng/EVE_Community_VM.ova 
 +  VBoxManage startvm "EVE Community VM--type=headless 
 +  VBoxManage controlvm "EVE Community VM"  poweroff 
 +   
 +   
 +  vboxmanage showvminfo "EVE Community VM" 
 +  VBoxManage modifyvm "EVE Community VM" ... 
 + 
 + 
 +---- 
 + 
 +VMWARE WORKSTATION:\\
  
 +  /var/lib/vmware/Shared VMs
 +  https://www.vmware.com/support/ws55/doc/ws_learning_cli_vmrun.html
 +  vmrun list
 +  ovftool --hideEula VMware-vSAN-Witness-201704001-5310538.ova  # to deploy an ova based machine. More in https://cstan.io/?p=8972&lang=en
 +  vmware-cmd # to change an existing machine settings
 +  vmrun start /root/vmware/vm-copy-me_do-not-modify/vm-copy-me_do-not-modify.vmx nogui
 +  vmrun start /root/vmware/EVE_Community_VM/EVE_Community_VM.vmx nogui
 +  
 +__(general) VMWARE NOTES TRICKS__
 +  hwclock --hctosys    # to sync the vm clock with the hypervisor (vms can take the clock from it instead of ntp based)
virtualization/libvirt.1555838665.txt.gz · Last modified: (external edit)