Fix whitespace for interfaces file with two interfaces and IPv6
Bug #1339888 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Rick Harris |
Bug Description
If you have more than one interface and IPv6 is enabled, then the interfaces file will be broken: the 'auto` line will be on the same line as the previous stanza's gateway:
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1 auto eth1
iface eth1 inet static
...
vs
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
auto eth1
iface eth1 inet static
...
The solution is fix the Jinja whitespace control in the template.
Changed in nova: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/105881
Review: https:/