change hostname
This commit is contained in:
parent
0b1424514a
commit
0ce4fda758
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#cloud-config
|
||||
hostname: ${name}
|
||||
hostname: dns
|
||||
manage_etc_hosts: true
|
||||
ssh_pwauth: false
|
||||
disable_root: false
|
||||
|
|
2
main.tf
2
main.tf
|
@ -43,7 +43,7 @@ resource "libvirt_domain" "ubuntu" {
|
|||
|
||||
network_interface {
|
||||
network_name = "dmzbr"
|
||||
hostname = var.name
|
||||
hostname = "dns"
|
||||
addresses = ["${var.internal_ip}/24"]
|
||||
mac = "ca:fe:c0:ff:ee:07"
|
||||
}
|
||||
|
|
Reference in a new issue