Skip to main content

Posts

Showing posts from January, 2025

How to convert VMware vmdk VM to KVM qcow2

 Below steps will allow to convert VMware VMs to KVM VMs: Install qemu-img:           apt-get install qemu-img To Convert VMware vmdk to qcow2                qemu-img convert -f vmdk <Source VM .vmdk file path>  -O qcow2 <Target test.qcow2> To convert qcow2 to .vmdk           qemu-img convert -O vmdk < source test.qcow2> <Target test.vmdk>

how to unlink a NIC from an esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class: cswitch    Num Ports: 1234    Used Ports: 7    Configured Ports: 128    MTU: 1500    CDP Status: listen    Beacon Enabled: false    Beacon Interval: 1    Beacon Threshold: 3    Beacon Required By:    Uplinks: vmnic2, vmnic0    Portgroups: VM Network, Now remove the wrong NIC from the switch0: esxcli network vswitch standard uplink remove --uplink-name=vmnic2 --vswitch-name=vSwitch0 To add the remove network NIC to vSwitch1: esxcli   network vswitch standard uplink add --uplink-name=vmnic2 --vswitch-name=vSwitch1