forked from fediversity/fediversity
clean some comments
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
6bf161e123
commit
d30f823cc4
1 changed files with 0 additions and 7 deletions
|
|
@ -110,11 +110,6 @@ resource "proxmox_virtual_environment_vm" "nix_vm" {
|
|||
ssd = true
|
||||
backup = false
|
||||
cache = "none"
|
||||
|
||||
# FIXME make the provider allow this as a distinct block to allow making this depend on VM id?
|
||||
# FIXME replace with an effectful ~~function~~template from vm_id replacing resource `proxmox_virtual_environment_file.upload`
|
||||
# import_from = "local:import/${proxmox_virtual_environment_vm.nix_vm.vm_id}-${local.dump_name}" # bogus import name to test if it would accept self-referential values here # may not refer to itself
|
||||
# import_from = "local:import/${local.dump_name}"
|
||||
import_from = proxmox_virtual_environment_file.upload.id
|
||||
}
|
||||
|
||||
|
|
@ -162,7 +157,6 @@ resource "null_resource" "await_ssh" {
|
|||
}
|
||||
}
|
||||
|
||||
# FIXME expose (and handle thru) [`exec`](https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/agent/exec) endpoint in proxmox TF provider? wait, what command would i use it for?: https://github.com/bpg/terraform-provider-proxmox/issues/1576
|
||||
module "nixos-rebuild" {
|
||||
depends_on = [
|
||||
data.external.hash,
|
||||
|
|
@ -170,7 +164,6 @@ module "nixos-rebuild" {
|
|||
]
|
||||
source = "../tf-single-host"
|
||||
nixos_conf = var.nixos_conf
|
||||
# username = var.ssh_user # refers to the proxmox ssh user, not the VM one
|
||||
username = "root"
|
||||
host = proxmox_virtual_environment_vm.nix_vm.ipv4_addresses[1][0]
|
||||
key_file = var.key_file
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue