forked from fediversity/fediversity
make upload depend on hash
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
30f15835c1
commit
b42d6887dd
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ data "external" "hash" {
|
||||||
# - hash in name over overwrite
|
# - hash in name over overwrite
|
||||||
# won't notice file changes: https://github.com/bpg/terraform-provider-proxmox/issues/677
|
# won't notice file changes: https://github.com/bpg/terraform-provider-proxmox/issues/677
|
||||||
resource "proxmox_virtual_environment_file" "upload" {
|
resource "proxmox_virtual_environment_file" "upload" {
|
||||||
|
depends_on = [
|
||||||
|
data.external.hash,
|
||||||
|
]
|
||||||
content_type = "import"
|
content_type = "import"
|
||||||
# https://192.168.51.81:8006/#v1:0:=storage%2Fnode051%2Flocal:4::=contentIso:::::
|
# https://192.168.51.81:8006/#v1:0:=storage%2Fnode051%2Flocal:4::=contentIso:::::
|
||||||
# PVE -> Datacenter -> Storage -> local -> Edit -> General -> Content -> check Import + Disk Images -> OK
|
# PVE -> Datacenter -> Storage -> local -> Edit -> General -> Content -> check Import + Disk Images -> OK
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue