-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: hrmny <[email protected]>
- Loading branch information
1 parent
a5b6bb8
commit 46f61b2
Showing
5 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ locals { | |
hrmny = { | ||
ssh_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDtuIourWzbibkXqsJYk8IHxl4SIvxmnttrlUALu8XS [email protected]" | ||
} | ||
saces = { | ||
ssh_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL5JruwHRLLVW1LDcoUymftOgqt6I2khSvvSnNLk7XZ4 [email protected]" | ||
} | ||
} | ||
|
||
node = "nerdserv" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module "netboot_vm" { | ||
source = "../modules/vm" | ||
|
||
name = "netboot" | ||
|
||
node = var.node | ||
pool = var.pool | ||
|
||
clone = data.proxmox_virtual_environment_vm.debian_cloud_vm_template.vm_id | ||
|
||
cores = 1 | ||
memory = 2048 | ||
|
||
disk = { | ||
// gigabytes | ||
size = 48 | ||
storage = var.storage.disk | ||
} | ||
|
||
network = { | ||
bridge = var.network.bridge | ||
} | ||
|
||
ssh_keys = [ | ||
var.users["saces"].ssh_key | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters