mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-13 22:05:21 +01:00
7 lines
164 B
Bash
Executable File
7 lines
164 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export GOVC_USERNAME=$2
|
|
export GOVC_PASSWORD=$3
|
|
export GOVC_INSECURE=1
|
|
export GOVC_URL=$1
|
|
govc vm.info -json $4 | jq -r .VirtualMachines[].Guest.HostName |