NoCloud module doesn't put GATEWAY and DNS* settings in ifcfg-* file in Fedora25/cloud-init 0.7.8
Bug #1645597 reported by
Peter
This bug affects 3 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cloud-init |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Hello all!
NoCloud module omits setting GATEWAY and DNS* variables while configuring /etc/sysconfig/
meta-data file used:
instance-id: $VMID
local-hostname: $VMNAME
hostname: $VMNAME
network-interfaces: |
auto eth0
iface eth0 inet static
hwaddr $MAC
address $IPADDRESS
netmask $NETMASK
gateway $GATEWAY
dns-nameservers $DNSSERVERS
dns-search $SEARCHDOMAINS
Tis problem takes place on Fedora 25 with cloud-init 0.7.8
To post a comment you must log in.

Hi! Thanks for taking the time to file a bug.
The team has been busy on cloud-init support of centos/rhel over the past few months and have made significant changes. If you are willing and able, can you please take a look at the COPR repo for cloud-init and install the latest version there:
https:/ /copr.fedorainf racloud. org/coprs/ g/cloud- init/cloud- init/