cleanup
This commit is contained in:
@@ -1,206 +1,9 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.12.2",
|
||||
"serial": 14,
|
||||
"serial": 34,
|
||||
"lineage": "751616a2-db32-0edf-7258-3ba00b4868bd",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "data",
|
||||
"type": "ct_config",
|
||||
"name": "ignition",
|
||||
"provider": "provider[\"registry.terraform.io/poseidon/ct\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"content": "variant: flatcar\nversion: 1.1.0\n\npasswd:\n users:\n - name: core\n ssh_authorized_keys:\n - \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHHEAlPo3v4U67Y3411pTjIMkQxwlFWdXrBJkSzXenDH flatcar@undercloud\"\n\nstorage:\n files:\n - path: /etc/hostname\n mode: 0644\n contents:\n inline: \"flatcar-simple\"\n\nsystemd:\n units:\n - name: docker.service\n enabled: true\n",
|
||||
"id": "1745198757",
|
||||
"pretty_print": true,
|
||||
"rendered": "{\n \"ignition\": {\n \"config\": {\n \"replace\": {\n \"verification\": {}\n }\n },\n \"proxy\": {},\n \"security\": {\n \"tls\": {}\n },\n \"timeouts\": {},\n \"version\": \"3.4.0\"\n },\n \"kernelArguments\": {},\n \"passwd\": {\n \"users\": [\n {\n \"name\": \"core\",\n \"sshAuthorizedKeys\": [\n \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHHEAlPo3v4U67Y3411pTjIMkQxwlFWdXrBJkSzXenDH flatcar@undercloud\"\n ]\n }\n ]\n },\n \"storage\": {\n \"files\": [\n {\n \"group\": {},\n \"path\": \"/etc/hostname\",\n \"user\": {},\n \"contents\": {\n \"compression\": \"\",\n \"source\": \"data:,flatcar-simple\",\n \"verification\": {}\n },\n \"mode\": 420\n }\n ]\n },\n \"systemd\": {\n \"units\": [\n {\n \"enabled\": true,\n \"name\": \"docker.service\"\n }\n ]\n }\n}",
|
||||
"snippets": null,
|
||||
"strict": true
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "proxmox_virtual_environment_file",
|
||||
"name": "flatcar_ignition",
|
||||
"provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"content_type": "snippets",
|
||||
"datastore_id": "cephfs",
|
||||
"file_mode": null,
|
||||
"file_modification_date": null,
|
||||
"file_name": "flatcar-ignition-user-data",
|
||||
"file_size": null,
|
||||
"file_tag": null,
|
||||
"id": "cephfs:snippets/flatcar-ignition-user-data",
|
||||
"node_name": "hyper1",
|
||||
"overwrite": true,
|
||||
"source_file": [],
|
||||
"source_raw": [
|
||||
{
|
||||
"data": "{\n \"ignition\": {\n \"config\": {\n \"replace\": {\n \"verification\": {}\n }\n },\n \"proxy\": {},\n \"security\": {\n \"tls\": {}\n },\n \"timeouts\": {},\n \"version\": \"3.4.0\"\n },\n \"kernelArguments\": {},\n \"passwd\": {\n \"users\": [\n {\n \"name\": \"core\",\n \"sshAuthorizedKeys\": [\n \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHHEAlPo3v4U67Y3411pTjIMkQxwlFWdXrBJkSzXenDH flatcar@undercloud\"\n ]\n }\n ]\n },\n \"storage\": {\n \"files\": [\n {\n \"group\": {},\n \"path\": \"/etc/hostname\",\n \"user\": {},\n \"contents\": {\n \"compression\": \"\",\n \"source\": \"data:,flatcar-simple\",\n \"verification\": {}\n },\n \"mode\": 420\n }\n ]\n },\n \"systemd\": {\n \"units\": [\n {\n \"enabled\": true,\n \"name\": \"docker.service\"\n }\n ]\n }\n}",
|
||||
"file_name": "flatcar-ignition-user-data",
|
||||
"resize": 0
|
||||
}
|
||||
],
|
||||
"timeout_upload": 1800
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"data.ct_config.ignition"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "proxmox_virtual_environment_vm",
|
||||
"name": "flatcar",
|
||||
"provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"acpi": true,
|
||||
"agent": [],
|
||||
"amd_sev": [],
|
||||
"audio_device": [],
|
||||
"bios": "seabios",
|
||||
"boot_order": null,
|
||||
"cdrom": [],
|
||||
"clone": [
|
||||
{
|
||||
"datastore_id": "",
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 104
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
{
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
"sockets": 1,
|
||||
"type": "qemu64",
|
||||
"units": 1024
|
||||
}
|
||||
],
|
||||
"description": "Flatcar VM mit Ignition",
|
||||
"disk": [],
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "105",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "local-lvm",
|
||||
"dns": [],
|
||||
"interface": "ide2",
|
||||
"ip_config": [],
|
||||
"meta_data_file_id": "",
|
||||
"network_data_file_id": "",
|
||||
"type": "",
|
||||
"user_account": [],
|
||||
"user_data_file_id": "cephfs:snippets/flatcar-ignition-user-data",
|
||||
"vendor_data_file_id": ""
|
||||
}
|
||||
],
|
||||
"ipv4_addresses": [],
|
||||
"ipv6_addresses": [],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"BC:24:11:6E:DF:46"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
{
|
||||
"dedicated": 2048,
|
||||
"floating": 0,
|
||||
"hugepages": "",
|
||||
"keep_hugepages": false,
|
||||
"shared": 0
|
||||
}
|
||||
],
|
||||
"migrate": false,
|
||||
"name": "flatcar-simple",
|
||||
"network_device": [
|
||||
{
|
||||
"bridge": "vmbr0",
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:6E:DF:46",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
"rate_limit": 0,
|
||||
"trunks": "",
|
||||
"vlan_id": 0
|
||||
}
|
||||
],
|
||||
"network_interface_names": [],
|
||||
"node_name": "hyper2",
|
||||
"numa": [],
|
||||
"on_boot": true,
|
||||
"operating_system": [],
|
||||
"pool_id": null,
|
||||
"protection": false,
|
||||
"reboot": false,
|
||||
"reboot_after_update": true,
|
||||
"rng": [],
|
||||
"scsi_hardware": "virtio-scsi-pci",
|
||||
"serial_device": [],
|
||||
"smbios": [],
|
||||
"started": true,
|
||||
"startup": [],
|
||||
"stop_on_destroy": false,
|
||||
"tablet_device": true,
|
||||
"tags": null,
|
||||
"template": false,
|
||||
"timeout_clone": 1800,
|
||||
"timeout_create": 1800,
|
||||
"timeout_migrate": 1800,
|
||||
"timeout_move_disk": 1800,
|
||||
"timeout_reboot": 1800,
|
||||
"timeout_shutdown_vm": 1800,
|
||||
"timeout_start_vm": 1800,
|
||||
"timeout_stop_vm": 300,
|
||||
"tpm_state": [],
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 105,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"data.ct_config.ignition",
|
||||
"proxmox_virtual_environment_file.flatcar_ignition"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"resources": [],
|
||||
"check_results": null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user