How to convert GNS3WB to ESXi from ESXi command line:

Many thanks to David Dionne who has has submitted the following:

Get the WorkBench to your esxi storage via scp or vsphere client
ssh into esxi server or access the console with Alt-F1 over ipmi1.5/2 or from local keyboard and cd into the WB folder
If they’re still zipped do:

for i in *;do unzip “$i”;done
  • Convert and consolidate VMDK’s from Workstation to thin provisioning (in this example)
/vmfs/volumes/OpenFiler/GNS3WB58 # vmkfstools -i ‘GNS3 WorkBench.vmdk’ -d thin ‘GNS3 WorkBenchC.vmdk’
  • Edit vmxf file to reflect the new consolidated vmdk name
/vmfs/volumes/OpenFiler/GNS3WB58 # sed -i s/WorkBench.vmdk/WorkBenchC.vmdk/ ‘GNS3 WorkBench.vmx’
  • (Optional) You can delete all the uneeded vmdk files now if you want
/vmfs/volumes/OpenFiler/GNS3WB58 # rm GNS3\ WorkBench-f* GNS3\ WorkBench.vmdk
  • Through vSphere client delete all 3 nics
  • Through vSphere client add 3 “VMXNET 3″ nics

Then start up the vm and enjoy

You can probably copy and paste below:

vmkfstools -i ‘GNS3 WorkBench.vmdk’ -d thin ‘GNS3 WorkBenchC.vmdk’
sed -i s/WorkBench.vmdk/WorkBenchC.vmdk/ ‘GNS3 WorkBench.vmx’
rm GNS3\ WorkBench-f* GNS3\ WorkBench.vmdk
Posted in ESXi, GNS3, GNS3 WorkBench, Linux, Ubuntu, virtual interface, VMware | 6 Comments