IP report in motd should ignore vlan interfaces
Bug #1038422 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Medium
|
Alberto Donato | ||
landscape-client (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
landscape-sysinfo should skip vlan interfaces (usually ethN.NNNN) when
reporting on the IP addresses of the system in the motd. See attached
for a sanitized but otherwise genuine example motd that shows why.
Related branches
lp://staging/~ack/landscape-client/hide-vlan-ifaces
- Jerry Seutter (community): Approve
- Chris Glass (community): Approve
-
Diff: 63 lines (+29/-2)2 files modifiedlandscape/lib/network.py (+6/-1)
landscape/lib/tests/test_network.py (+23/-1)
Changed in landscape-client: | |
importance: | Undecided → Medium |
milestone: | none → 12.07 |
Changed in landscape-client: | |
milestone: | 12.07 → 12.09 |
Changed in landscape-client: | |
milestone: | 12.09 → 12.10 |
Changed in landscape-client: | |
assignee: | nobody → Alberto Donato (ack) |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reproduced by:
sudo apt-get install vlan
sudo vconfig add eth0 2
sudo ifconfig eth0.2 192.168.8.8 # or some other unusued local address
landscape-sysconfig # should filter out that interface.