* hotfix to remove purge; update version to 2.2.20
* update test data
* update test data
* update purge; pep8 fixes
* unit tests
* readability, unit tests
[#811] -- Comments inline in /etc/waagent.conf cause config to not be read
[#812] -- Agent fails and isn't recoverable if an extension's log directory is not present anymore
Signed-off-by: Brendan Dixon <brendandixon@me.com>
The Agent will monitor for more recent versions and update itself
(without impacting the installed version). If the new Agent fails
(in a very bad way or consistently), the code rolls back to the prior
version.
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
* update loopback detection to use SIOCGIFFLAGS and IFF_LOOPBACK; add unit tests
* adds a check for the wireserver ip, and if it does exist then skip the dhcp lookup and route manipulation; adds unit tests
* ensure the first selected interface is the primary, which is that with the default route; adds unit tests
* parse the wireserver from the dhcp leases file on disk; distro-specific, this is the ubuntu implementation; adds unit tests
* unit test fixes, python 3 changes
* code review feedback