fix 🐛: Update DNS nameservers
This commit updates the DNS nameservers for two virtual machine templates (vm-01 and vm-02) to 8.8.8.8, resolving potential DNS resolution issues. This change improves network connectivity for the VMs.
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
proxmox_template_vm_ubuntu_cipassword: "{{ cipassword }}" # From Ansible vault
|
||||
# proxmox_template_vm_ubuntu_sshkeys: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/id_rsa.pub') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
|
||||
proxmox_template_vm_ubuntu_sshkeys: "{{ ssh_public_keys | join('\n') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
|
||||
proxmox_template_vm_ubuntu_vlan: 50
|
||||
# proxmox_template_vm_ubuntu_vlan: 50
|
||||
|
||||
# Optional customizations for fedora
|
||||
proxmox_template_vm_fedora_storage: "local-lvm"
|
||||
@@ -74,7 +74,7 @@
|
||||
proxmox_template_vm_fedora_ciuser: "{{ ciuser }}" # From Ansible vault
|
||||
proxmox_template_vm_fedora_cipassword: "{{ cipassword }}" # From Ansible vault
|
||||
proxmox_template_vm_fedora_sshkeys: "{{ ssh_public_keys | join('\n') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
|
||||
proxmox_template_vm_fedora_vlan: 50
|
||||
# proxmox_template_vm_fedora_vlan: 50
|
||||
|
||||
# Set to true if you have slow storage to avoid file locks
|
||||
proxmox_template_vm_slow_storage: true
|
||||
@@ -106,7 +106,7 @@
|
||||
gateway: 192.168.2.1
|
||||
nameservers:
|
||||
- 192.168.2.100
|
||||
- 192.168.2.26
|
||||
- 8.8.8.8
|
||||
|
||||
- name: vm-02
|
||||
vmid: 1001
|
||||
@@ -124,4 +124,4 @@
|
||||
gateway: 192.168.2.1
|
||||
nameservers:
|
||||
- 192.168.2.100
|
||||
- 192.168.0.26
|
||||
- 8.8.8.8
|
||||
Reference in New Issue
Block a user