forked from fediversity/fediversity
use insecure for test only
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
f24620f500
commit
f20dca45f8
2 changed files with 1 additions and 3 deletions
|
|
@ -205,6 +205,7 @@ in
|
|||
|
||||
deploy = f"""
|
||||
ssh -o BatchMode=yes -o StrictHostKeyChecking=no pve "true"
|
||||
export PROXMOX_VE_INSECURE="true"
|
||||
export SSL_CERT_FILE=/tmp/pve-ca-bundle.crt
|
||||
export PROXMOX_VE_API_TOKEN="root@pam!mytoken={pm_token}"
|
||||
${lib.getExe deployment.run} | jq -r '.ipv4.value[0]'
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@ locals {
|
|||
# https://registry.terraform.io/providers/bpg/proxmox/latest/docs
|
||||
provider "proxmox" {
|
||||
endpoint = "https://${var.host}:8006/"
|
||||
insecure = true
|
||||
# FIXME secure
|
||||
# insecure = false
|
||||
|
||||
# used only for files and creating custom disks
|
||||
ssh {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue