Home

Install on CentOS


Please download this script and run it as follows in a terminal,

 
 . CentOS-SETUP.sh
 
 

Once the installation is done, append following lines to update the PATH variable at the end of ~/.bash_profile

 
 export GOROOT=/opt/go
 export PROJECTDIR=${PWD}/terraform-provider-vcloud-director
 export GOPATH=${PWD}/terraform-provider-vcloud-director/go/
 export PATH=/opt/go/bin:$PATH
 export PATH=${GOPATH}/bin:$PATH
 
 

Install on MacOS


Please download this script and run it as follows in a terminal,

 
 . MacOS-SETUP.sh
 
 

Once the installation is done, append following lines to update the PATH variable at the end of ~/.bash_profile. In case if ~/.bash_profile is not present then create using touch.

  touch ~/.bash_profile
 

and then add the following lines.

 
 export GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6)
 export GOROOT=$(brew --prefix)/Cellar/go/${GOVERSION}/libexec
 export PROJECTDIR=${PWD}/terraform-provider-vcloud-director
 export GOPATH=${PWD}/terraform-provider-vcloud-director/go
 export PATH=${GOPATH}/bin:$PATH