← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1645597

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

Status in cloud-init:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1645597/+subscriptions


Follow ups