Add DNS server configuration for Alpine Linux
This commit is contained in:
@@ -33,6 +33,9 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
|
||||
# VM information
|
||||
hostname = "${each.key}.${var.domain_suffix}"
|
||||
|
||||
# Network (used by templates that need to write /etc/resolv.conf themselves, e.g. Alpine)
|
||||
dns_server = var.dns_servers[0]
|
||||
|
||||
# Tailscale variables
|
||||
vm_name = each.key
|
||||
tailscale_auth_key = var.tailscale_auth_key
|
||||
|
||||
Reference in New Issue
Block a user