Malformed /etc/network/interfaces generated when no gateway defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
Fix Released
|
Medium
|
Chris Ricker | ||
Folsom |
Fix Released
|
Medium
|
Chris Ricker |
Bug Description
Commenting out node_gateway in site.pp (as site.pp directs users to do when not needed) generates this stanza in /etc/network/
iface eth2 inet static
netmask 255.255.255.0
address 2.3.1.2
dns-search sdu.lab
gateway
dns-nameservers 2.3.1.254
The gateway line causes various Debian components not to parse the file correctly -- the line should just be omitted entirely
This is also the source of these errors during puppet runs:
debug: Service[
err: /Stage[
https:/ /github. com/CiscoSystem s/folsom- manifests/ pull/42 submitted to fix