Skip to content

Commit 0e8b685

Browse files
committedDec 21, 2024
debug
1 parent 7f62aea commit 0e8b685

File tree

3 files changed

+13
-61
lines changed

3 files changed

+13
-61
lines changed
 

‎.forgejo/workflows/tofu-issue-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ jobs:
6969
7070
network_device {
7171
bridge = "vmbr0"
72-
{{- if env.VLAN_ID }}
7372
vlan_id = "${{ env.VLAN_ID }}"
74-
{{- end }}
7573
}
7674
7775
disk {
@@ -88,6 +86,7 @@ jobs:
8886
ip_config {
8987
ipv4 {
9088
address = "dhcp"
89+
vlan_gateway
9190
}
9291
}
9392

‎.github/ISSUE_TEMPLATE/deploy-vm.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
name: Deploy Virtual Machine
22
description: Provide details to deploy a new virtual machine.
3-
title: "[VM Deployment] <VM Name>"
3+
title: ":computer: [VM Deployment] <put VM Name here>"
44
labels:
55
- opentofu
66
assignees:
77
- mafyuh
88
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Quickly create Virtual Machines and let Actions take care of provisoning. Use `null` for any values you dont want
13+
914
- type: input
1015
id: vm_name
1116
attributes:
1217
label: VM Name
1318
placeholder: Enter the name of the VM
14-
description: The name of the virtual machine (e.g., Plausible).
19+
description: The name of the virtual machine (e.g., `Plausible`).
1520
validations:
1621
required: true
1722

@@ -56,7 +61,7 @@ body:
5661
attributes:
5762
label: CPU Type
5863
placeholder: Enter the CPU type
59-
description: The type of CPU to use (e.g., host).
64+
description: The type of CPU to use (e.g., `host`).
6065
validations:
6166
required: true
6267

@@ -65,7 +70,7 @@ body:
6570
attributes:
6671
label: Node Name
6772
placeholder: Enter the node name
68-
description: The Proxmox node name (e.g., prox or pve2).
73+
description: The Proxmox node name (e.g., `prox`` or `pve2`).
6974
validations:
7075
required: true
7176

@@ -74,16 +79,16 @@ body:
7479
attributes:
7580
label: VLAN ID
7681
placeholder: Enter the VLAN ID
77-
description: The VLAN ID for the network device (e.g., 1).
82+
description: The VLAN ID for the network device (e.g., 1 or `null`).
7883
validations:
79-
required: false
84+
required: true
8085

8186
- type: input
8287
id: datastore
8388
attributes:
8489
label: Datastore ID
8590
placeholder: Enter the datastore ID
86-
description: Specify the datastore where the VM disk is located (e.g., Fast2Tb).
91+
description: Specify the datastore where the VM disk is located (e.g., `Fast2Tb`).
8792
validations:
8893
required: true
8994

‎terraform/proxmox/Tester.tf

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.