Skip to content

Instantly share code, notes, and snippets.

@ruzickap
Created September 27, 2014 13:37
Show Gist options
  • Save ruzickap/fda71997083a41b0c6cd to your computer and use it in GitHub Desktop.
Save ruzickap/fda71997083a41b0c6cd to your computer and use it in GitHub Desktop.
OVFTool installation on ESXi
#Download OVF tools
wget -q ftp://ftp.example.com/software/vmware/installation_scripts/vmware-ovftool.tar.gz -O /vmfs/volumes/My_Datastore/vmware-ovftool.tar.gz
# Extract ovftool content to /vmfs/volumes/My_Datastore
tar -xzf /vmfs/volumes/My_Datastore/vmware-ovftool.tar.gz -C /vmfs/volumes/My_Datastore/
rm /vmfs/volumes/My_Datastore/vmware-ovftool.tar.gz
# Modify the ovftool script to work on ESXi
sed -i 's@^#!/bin/bash@#!/bin/sh@' /vmfs/volumes/My_Datastore/vmware-ovftool/ovftool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment