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