console fix

This commit is contained in:
Alex
2025-09-03 08:58:16 +02:00
parent 4d65654310
commit 5dbc9d76ec
4 changed files with 12 additions and 79 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
terraform/.terraform.lock.hcl
terraform/.terraform/
terraform/terraform.tfstate
infrastructure-admin/terraform.tfstate
infrastructure-admin/terraform.tfstate.backup

View File

@@ -31,9 +31,6 @@ qm set $VMID --ide2 ${STORAGE}:cloudinit
echo "==> Setting boot options..."
qm set $VMID --boot c --bootdisk scsi0
echo "==> Enabling serial console..."
qm set $VMID --serial0 socket --vga serial0
echo "==> Converting VM $VMID to template..."
qm template $VMID

View File

@@ -1,8 +1,8 @@
{
"version": 4,
"terraform_version": "1.13.0",
"serial": 17,
"lineage": "d5a26e70-76e1-4ee6-fbd3-7e17e672cf00",
"serial": 7,
"lineage": "b0d31962-3163-dc87-e1a4-b069868f1866",
"outputs": {
"controller_ip": {
"value": "192.168.122.50",
@@ -137,7 +137,7 @@
"firewall": false,
"id": 0,
"link_down": false,
"macaddr": "bc:24:11:78:63:79",
"macaddr": "bc:24:11:af:0a:20",
"model": "virtio",
"mtu": 0,
"queues": 0,
@@ -169,7 +169,7 @@
"product": "",
"serial": "",
"sku": "",
"uuid": "bc4f9779-2cc1-4516-a2a6-66b81bc0e397",
"uuid": "3c948be5-2495-4910-ba95-519413eb6392",
"version": ""
}
],
@@ -342,7 +342,7 @@
"firewall": false,
"id": 0,
"link_down": false,
"macaddr": "bc:24:11:28:24:ca",
"macaddr": "bc:24:11:1d:05:31",
"model": "virtio",
"mtu": 0,
"queues": 0,
@@ -374,7 +374,7 @@
"product": "",
"serial": "",
"sku": "",
"uuid": "9fe50c64-c9e1-486f-9a9e-f8638f120690",
"uuid": "06c3315b-e044-40b1-bffe-92e892dff09b",
"version": ""
}
],
@@ -547,7 +547,7 @@
"firewall": false,
"id": 0,
"link_down": false,
"macaddr": "bc:24:11:18:b1:00",
"macaddr": "bc:24:11:72:d9:98",
"model": "virtio",
"mtu": 0,
"queues": 0,
@@ -579,7 +579,7 @@
"product": "",
"serial": "",
"sku": "",
"uuid": "df0a1722-f948-42ba-bdc6-fc4adb9ef9fc",
"uuid": "7df7f412-d573-4bcf-ac5f-bf77915c21b3",
"version": ""
}
],
@@ -642,7 +642,7 @@
{
"schema_version": 3,
"attributes": {
"bcrypt_hash": "$2a$10$0ezq9CVsJrbqqDgydnfT6e8KHK0xJqSUgV/4mEi0dxwDjEKXPaA4a",
"bcrypt_hash": "$2a$10$REdkV8RlQSockZTD1NUXT.CE.DaMq4sNmwGarkFMRwhDXoUv9d.Xy",
"id": "none",
"keepers": null,
"length": 32,
@@ -654,7 +654,7 @@
"number": true,
"numeric": true,
"override_special": null,
"result": "F8WQbWDIELGCnz1WlWSDKPNaCOsRgVHD",
"result": "VExNsWJN66ixpLhLODQLiBuml4SRd0tg",
"special": false,
"upper": true
},

View File

@@ -1,66 +0,0 @@
{
"version": 4,
"terraform_version": "1.13.0",
"serial": 11,
"lineage": "d5a26e70-76e1-4ee6-fbd3-7e17e672cf00",
"outputs": {
"controller_ip": {
"value": "192.168.122.50",
"type": "string"
},
"worker1_ip": {
"value": "192.168.122.51",
"type": "string"
},
"worker2_ip": {
"value": "192.168.122.52",
"type": "string"
}
},
"resources": [
{
"mode": "managed",
"type": "random_password",
"name": "k3s_token",
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
"instances": [
{
"schema_version": 3,
"attributes": {
"bcrypt_hash": "$2a$10$0ezq9CVsJrbqqDgydnfT6e8KHK0xJqSUgV/4mEi0dxwDjEKXPaA4a",
"id": "none",
"keepers": null,
"length": 32,
"lower": true,
"min_lower": 0,
"min_numeric": 0,
"min_special": 0,
"min_upper": 0,
"number": true,
"numeric": true,
"override_special": null,
"result": "F8WQbWDIELGCnz1WlWSDKPNaCOsRgVHD",
"special": false,
"upper": true
},
"sensitive_attributes": [
[
{
"type": "get_attr",
"value": "bcrypt_hash"
}
],
[
{
"type": "get_attr",
"value": "result"
}
]
],
"identity_schema_version": 0
}
]
}
],
"check_results": null
}