Testing First Deployment
This commit is contained in:
1
homelab_pub
Normal file
1
homelab_pub
Normal file
@@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJo337iE4+Ry7T65Ey+2QQ9aRaGxP7zzLtMV+hBPyA59 eddsa-key-20250525
|
||||
23
srv-debianlxc.tf
Normal file
23
srv-debianlxc.tf
Normal file
@@ -0,0 +1,23 @@
|
||||
resource "proxmox_lxc" "basic" {
|
||||
target_node = "pve"
|
||||
hostname = "lxc-basic"
|
||||
ostemplate = "local:nfs_Vulnerable/debian-13-standard_13.1-2_amd64.tar.zst"
|
||||
password = "BasicLXCContainer"
|
||||
unprivileged = true
|
||||
description = "Nice"
|
||||
ssh_public_keys = <<-EOT
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJo337iE4+Ry7T65Ey+2QQ9aRaGxP7zzLtMV+hBPyA59 eddsa-key-20250525
|
||||
EOT
|
||||
|
||||
// Terraform will crash without rootfs defined
|
||||
rootfs {
|
||||
storage = "nfs_Protected"
|
||||
size = "8G"
|
||||
}
|
||||
|
||||
network {
|
||||
name = "eth0"
|
||||
bridge = "vmbr0"
|
||||
ip = "dhcp"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user