Add curl, govc, and vmware upload script for quicker nodes updates

This commit is contained in:
Guillaume
2019-10-18 16:51:28 +11:00
parent 49c73be97a
commit 4ad32c64a6
3 changed files with 41 additions and 1 deletions

View File

@ -12,7 +12,11 @@ run apt-get update \
run yes |apt-get install -y grub2 grub-pc-bin grub-efi-amd64-bin \
&& apt-get clean
run apt-get install -y ca-certificates \
run apt-get install -y ca-certificates curl \
&& apt-get clean
run curl -L https://github.com/vmware/govmomi/releases/download/v0.21.0/govc_linux_amd64.gz | gunzip > /bin/govc && chmod +x /bin/govc
copy upload-vmware.sh govc.env /var/lib/direktil/
copy --from=build /go/bin/ /bin/