-
-
Save jpluimers/6b8350884d7655d6be59b504314a083e to your computer and use it in GitHub Desktop.
OVFTool installation on ESXi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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