-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleanup: removed epochs from README.md * #36 network.magcloud global vars, reduced dhcp resource allocation. * #35 template container for Ansible target * fix: remove var.root_pass to pass lint checks * Removed other line for lint checks * variables.tf fix from Cody * fix: variable names * fix: variable name revert, formatting cleanup, validation Co-authored-by: claughinghouse <[email protected]>
- Loading branch information
1 parent
a8da10b
commit 8731222
Showing
3 changed files
with
37 additions
and
17 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
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,23 @@ | ||
resource "proxmox_lxc" "basic" { | ||
count = 1 | ||
target_node = "pve1" | ||
hostname = "provisioning-template-${count.index}.magevent.net" | ||
ostemplate = "wowza:vztmpl/ubuntu-20.04-standard_20.04-1_amd64.tar.gz" | ||
ssh_public_keys = var.common.ssh_public_keys | ||
unprivileged = true | ||
|
||
// Terraform will crash without rootfs defined | ||
rootfs { | ||
storage = "ceph" | ||
size = "8G" | ||
} | ||
|
||
network { | ||
name = "eth0" | ||
ip = "dhcp" | ||
bridge = var.magcloud.bridge_id | ||
gw = var.magcloud.gateway | ||
firewall = var.magcloud.firewall | ||
tag = var.magcloud.vlan_id | ||
} | ||
} |
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