Merge lp:~smoser/curtinator/fix-default-address into lp:~roadmr/curtinator/trunk
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 5 |
Proposed branch: | lp:~smoser/curtinator/fix-default-address |
Merge into: | lp:~roadmr/curtinator/trunk |
Diff against target: |
26 lines (+8/-1) 1 file modified
scripts/curtinator (+8/-1) |
To merge this branch: | bzr merge lp:~smoser/curtinator/fix-default-address |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique | Approve | ||
Review via email: mp+335753@code.launchpad.net |
Description of the change
Fix setting of DEFAULT_ADDRESS on bionic.
ifconfig output is fragile, and changed between xenial and bionic.
The change modifies DEFAULT_ADDRESS to use 'ip show dev' rather than
'ifconfig'. Also fails early if no address is found.
To post a comment you must log in.
This really shows curtinator's age :)
Thanks for this! I'll merge in a sec.