NoCloud module doesn't put GATEWAY and DNS* settings in ifcfg-* file in Fedora25/cloud-init 0.7.8

Bug #1645597 reported by Peter
20
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/network-scripts/ifcfg-eth0 file with BOOTPROTO=static. As a result configured system lacks Internet connectivity.

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

Revision history for this message
Joshua Powers (powersj) wrote :

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.fedorainfracloud.org/coprs/g/cloud-init/cloud-init/

Changed in cloud-init:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-init because there has been no activity for 60 days.]

Changed in cloud-init:
status: Incomplete → Expired
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.