Skip to content

Instantly share code, notes, and snippets.

@tlopo
Forked from ruzickap/ovftool_installation.sh
Created August 15, 2017 21:53
Show Gist options
  • Select an option

  • Save tlopo/c14e1a46a761dc3d60bf8705c534dafe to your computer and use it in GitHub Desktop.

Select an option

Save tlopo/c14e1a46a761dc3d60bf8705c534dafe 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