terraform fmt
All checks were successful
Gitea Actions Demo / Terraform Plan (push) Successful in 26s
All checks were successful
Gitea Actions Demo / Terraform Plan (push) Successful in 26s
This commit is contained in:
parent
99f3610a84
commit
96f6d94c3a
@ -2,8 +2,17 @@
|
|||||||
hostname: ${hostname}
|
hostname: ${hostname}
|
||||||
fqdn: ${hostname}.${domain}
|
fqdn: ${hostname}.${domain}
|
||||||
|
|
||||||
runcmd:
|
#cloud-config
|
||||||
- curl -fsSL https://tailscale.com/install.sh | sh
|
# The above header must generally appear on the first line of a cloud config
|
||||||
- tailscale up --auth-key=${TS_AUTHKEY}
|
# file, but all other lines that begin with a # are optional comments.
|
||||||
- tailscale set --ssh
|
|
||||||
|
runcmd:
|
||||||
|
# One-command install, from https://tailscale.com/download/
|
||||||
|
- ['sh', '-c', 'curl -fsSL https://tailscale.com/install.sh | sh']
|
||||||
|
# Set sysctl settings for IP forwarding (useful when configuring an exit node)
|
||||||
|
- ['sh', '-c', "echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf && echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf && sudo sysctl -p /etc/sysctl.d/99-tailscale.conf" ]
|
||||||
|
# Generate an auth key from your Admin console
|
||||||
|
# https://login.tailscale.com/admin/settings/keys
|
||||||
|
# and replace the placeholder below
|
||||||
|
- ['tailscale', 'up', '--auth-key=${TS_AUTHKEY}']
|
||||||
|
|
||||||
|
@ -77,9 +77,8 @@ resource "proxmox_vm_qemu" "llamas" {
|
|||||||
scsi {
|
scsi {
|
||||||
scsi0 {
|
scsi0 {
|
||||||
disk {
|
disk {
|
||||||
size = var.disk_size
|
size = var.disk_size
|
||||||
storage = var.storage
|
storage = var.storage
|
||||||
iothread = true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scsi1 {
|
scsi1 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user