File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 17
17
echo "Extracting issue details..."
18
18
ISSUE_BODY="${{ github.event.issue.body }}"
19
19
VM_NAME=$(echo "$ISSUE_BODY" | grep -A 2 'VM Name' | tail -n 1 | xargs)
20
- VM_ID=$(echo "$ISSUE_BODY" | grep -A 2 'VM ID' | grep -v 'Clone VM ID ' | tail -n 1 | xargs)
20
+ VM_ID=$(echo "$ISSUE_BODY" | grep -A 2 'VM UID ' | tail -n 1 | xargs)
21
21
RAM=$(echo "$ISSUE_BODY" | grep -A 2 'RAM' | tail -n 1 | xargs)
22
22
CPUS=$(echo "$ISSUE_BODY" | grep -A 2 'CPU Cores' | tail -n 1 | xargs)
23
23
SCPU_TYPE=$(echo "$ISSUE_BODY" | grep -A 2 'CPU Type' | tail -n 1 | xargs)
27
27
DISK_SIZE=$(echo "$ISSUE_BODY" | grep -A 2 'Disk Size' | tail -n 1 | xargs)
28
28
CLONE_VM_ID=$(echo "$ISSUE_BODY" | grep -A 2 'Clone VM ID' | tail -n 1 | xargs)
29
29
30
- echo "NODE_NAME=$NODE_NAME"
31
-
32
30
# Determine user_data_file_id
33
31
if [ "$NODE_NAME" == "prox" ]; then
34
32
USER_DATA_FILE_ID="proxmox_virtual_environment_file.cloud_config.id"
Original file line number Diff line number Diff line change 18
18
- type : input
19
19
id : vm_id
20
20
attributes :
21
- label : VM ID
21
+ label : VM UID
22
22
placeholder : Enter the VM ID
23
23
description : The unique numeric ID for the VM (e.g., 103).
24
24
validations :
92
92
attributes :
93
93
label : Clone VM ID
94
94
placeholder : Enter the VM ID to clone from
95
- description : The VM ID to use as the clone source (e.g., 9996) .
95
+ description : VM to CLone from, Prox = 9996, Pve2 = 9997 .
96
96
validations :
97
97
required : true
You can’t perform that action at this time.
0 commit comments