Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 206069

Re: Problem running OVF Tool 3.0.1 on Mac (Locale initialization failed)

$
0
0

Ahahahaha. Well, apparently my ranting got me enough points to finally download. So, for those out there looking for this patch, I'll save you the trouble of having to register and rant a couple posts before being able to use this tool...

 

Copy the following into a file called "ovftool.txt" and then follow the instructions in the original post:

#!/bin/bash

# ------------------------

# Start Script for ovftool

# ------------------------

 

# resolve links - $0 may be a softlink

PRG="$0"

 

if [ -L "$PRG" ]; then

   PRG=`readlink "$PRG"`

fi

 

PRGDIR=`dirname "$PRG"`

OVFTOOL_BIN="$PRGDIR"/ovftool.bin

 

export LD_LIBRARY_PATH="$PRGDIR":"$LD_LIBRARY_PATH"

 

if [ ! -e "$OVFTOOL_BIN" ]; then

   echo "Cannot find $OVFTOOL_BIN"

   exit 1

fi

 

"$OVFTOOL_BIN" "$@"

 

 

To quote renes, after completing the task above, execute the following commands in the terminal, where "~/ovftool.txt" is the location of the above file you saved:

>cd /Applications/VMware\ OVF\ Tool/

>sudo mv ovftool ovftool.bin

>sudo cp ~/ovftool.txt ovftool

>sudo chmod a+x ovftool

 

Enjoy!


Viewing all articles
Browse latest Browse all 206069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>