feat: install ovftool in runner
This commit is contained in:
@@ -31,6 +31,15 @@ jobs:
|
|||||||
- name: Set up Terraform
|
- name: Set up Terraform
|
||||||
uses: hashicorp/setup-terraform@v3
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
|
||||||
|
- name: Install ovftool
|
||||||
|
run: |
|
||||||
|
wget https://github.com/rgl/ovftool-binaries/raw/main/archive/VMware-ovftool-4.6.3-24031167-lin.x86_64.zip
|
||||||
|
unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip
|
||||||
|
mv ovftool vmware-ovftool
|
||||||
|
sudo mv vmware-ovftool /usr/bin/
|
||||||
|
sudo chmod +x /usr/bin/vmware-ovftool/ovftool*
|
||||||
|
sudo ln -s /usr/bin/vmware-ovftool/ovftool /usr/bin/ovftool
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
run: terraform init
|
run: terraform init
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user