console fix
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
terraform/.terraform.lock.hcl
|
terraform/.terraform.lock.hcl
|
||||||
terraform/.terraform/
|
terraform/.terraform/
|
||||||
terraform/terraform.tfstate
|
terraform/terraform.tfstate
|
||||||
|
infrastructure-admin/terraform.tfstate
|
||||||
|
infrastructure-admin/terraform.tfstate.backup
|
||||||
|
|||||||
@@ -31,9 +31,6 @@ qm set $VMID --ide2 ${STORAGE}:cloudinit
|
|||||||
echo "==> Setting boot options..."
|
echo "==> Setting boot options..."
|
||||||
qm set $VMID --boot c --bootdisk scsi0
|
qm set $VMID --boot c --bootdisk scsi0
|
||||||
|
|
||||||
echo "==> Enabling serial console..."
|
|
||||||
qm set $VMID --serial0 socket --vga serial0
|
|
||||||
|
|
||||||
echo "==> Converting VM $VMID to template..."
|
echo "==> Converting VM $VMID to template..."
|
||||||
qm template $VMID
|
qm template $VMID
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.13.0",
|
"terraform_version": "1.13.0",
|
||||||
"serial": 17,
|
"serial": 7,
|
||||||
"lineage": "d5a26e70-76e1-4ee6-fbd3-7e17e672cf00",
|
"lineage": "b0d31962-3163-dc87-e1a4-b069868f1866",
|
||||||
"outputs": {
|
"outputs": {
|
||||||
"controller_ip": {
|
"controller_ip": {
|
||||||
"value": "192.168.122.50",
|
"value": "192.168.122.50",
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
"firewall": false,
|
"firewall": false,
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"link_down": false,
|
"link_down": false,
|
||||||
"macaddr": "bc:24:11:78:63:79",
|
"macaddr": "bc:24:11:af:0a:20",
|
||||||
"model": "virtio",
|
"model": "virtio",
|
||||||
"mtu": 0,
|
"mtu": 0,
|
||||||
"queues": 0,
|
"queues": 0,
|
||||||
@@ -169,7 +169,7 @@
|
|||||||
"product": "",
|
"product": "",
|
||||||
"serial": "",
|
"serial": "",
|
||||||
"sku": "",
|
"sku": "",
|
||||||
"uuid": "bc4f9779-2cc1-4516-a2a6-66b81bc0e397",
|
"uuid": "3c948be5-2495-4910-ba95-519413eb6392",
|
||||||
"version": ""
|
"version": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -342,7 +342,7 @@
|
|||||||
"firewall": false,
|
"firewall": false,
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"link_down": false,
|
"link_down": false,
|
||||||
"macaddr": "bc:24:11:28:24:ca",
|
"macaddr": "bc:24:11:1d:05:31",
|
||||||
"model": "virtio",
|
"model": "virtio",
|
||||||
"mtu": 0,
|
"mtu": 0,
|
||||||
"queues": 0,
|
"queues": 0,
|
||||||
@@ -374,7 +374,7 @@
|
|||||||
"product": "",
|
"product": "",
|
||||||
"serial": "",
|
"serial": "",
|
||||||
"sku": "",
|
"sku": "",
|
||||||
"uuid": "9fe50c64-c9e1-486f-9a9e-f8638f120690",
|
"uuid": "06c3315b-e044-40b1-bffe-92e892dff09b",
|
||||||
"version": ""
|
"version": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -547,7 +547,7 @@
|
|||||||
"firewall": false,
|
"firewall": false,
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"link_down": false,
|
"link_down": false,
|
||||||
"macaddr": "bc:24:11:18:b1:00",
|
"macaddr": "bc:24:11:72:d9:98",
|
||||||
"model": "virtio",
|
"model": "virtio",
|
||||||
"mtu": 0,
|
"mtu": 0,
|
||||||
"queues": 0,
|
"queues": 0,
|
||||||
@@ -579,7 +579,7 @@
|
|||||||
"product": "",
|
"product": "",
|
||||||
"serial": "",
|
"serial": "",
|
||||||
"sku": "",
|
"sku": "",
|
||||||
"uuid": "df0a1722-f948-42ba-bdc6-fc4adb9ef9fc",
|
"uuid": "7df7f412-d573-4bcf-ac5f-bf77915c21b3",
|
||||||
"version": ""
|
"version": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -642,7 +642,7 @@
|
|||||||
{
|
{
|
||||||
"schema_version": 3,
|
"schema_version": 3,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"bcrypt_hash": "$2a$10$0ezq9CVsJrbqqDgydnfT6e8KHK0xJqSUgV/4mEi0dxwDjEKXPaA4a",
|
"bcrypt_hash": "$2a$10$REdkV8RlQSockZTD1NUXT.CE.DaMq4sNmwGarkFMRwhDXoUv9d.Xy",
|
||||||
"id": "none",
|
"id": "none",
|
||||||
"keepers": null,
|
"keepers": null,
|
||||||
"length": 32,
|
"length": 32,
|
||||||
@@ -654,7 +654,7 @@
|
|||||||
"number": true,
|
"number": true,
|
||||||
"numeric": true,
|
"numeric": true,
|
||||||
"override_special": null,
|
"override_special": null,
|
||||||
"result": "F8WQbWDIELGCnz1WlWSDKPNaCOsRgVHD",
|
"result": "VExNsWJN66ixpLhLODQLiBuml4SRd0tg",
|
||||||
"special": false,
|
"special": false,
|
||||||
"upper": true
|
"upper": true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user