commit python-azure-agent for openSUSE:Factory
Hello community, here is the log from the commit of package python-azure-agent for openSUSE:Factory checked in at 2020-04-01 19:13:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-agent (Old) and /work/SRC/openSUSE:Factory/.python-azure-agent.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-azure-agent" Wed Apr 1 19:13:30 2020 rev:13 rq:790353 version:2.2.45 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-agent/python-azure-agent.changes 2020-02-07 15:57:13.331598959 +0100 +++ /work/SRC/openSUSE:Factory/.python-azure-agent.new.3248/python-azure-agent.changes 2020-04-01 19:14:29.707427368 +0200 @@ -1,0 +2,7 @@ +Tue Mar 24 20:41:35 UTC 2020 - Robert Schweikert <rjschwei@suse.com> + +- Add paa_use_hostnamectl.patch (bsc#1167601, bsc#1167602) + + Set the hostname using hostnamectl to ensure setting is + properly applied + +------------------------------------------------------------------- New: ---- paa_use_hostnamectl.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-agent.spec ++++++ --- /var/tmp/diff_new_pack.9JHo85/_old 2020-04-01 19:14:30.807427863 +0200 +++ /var/tmp/diff_new_pack.9JHo85/_new 2020-04-01 19:14:30.807427863 +0200 @@ -27,6 +27,7 @@ Patch1: agent-no-auto-update.patch Patch6: paa_force_py3_sle15.patch Patch9: paa_sudo_sle15_nopwd.patch +Patch10: paa_use_hostnamectl.patch BuildRequires: dos2unix BuildRequires: distribution-release @@ -122,6 +123,7 @@ %if 0%{?suse_version} && 0%{?suse_version} > 1315 %patch9 %endif +%patch10 %build %if 0%{?suse_version} && 0%{?suse_version} > 1315 ++++++ paa_use_hostnamectl.patch ++++++ --- azurelinuxagent/common/osutil/suse.py.orig +++ azurelinuxagent/common/osutil/suse.py @@ -82,6 +82,11 @@ class SUSEOSUtil(SUSE11OSUtil): super(SUSEOSUtil, self).__init__() self.dhclient_name = 'wickedd-dhcp4' + def set_hostname(self, hostname): + shellutil.run( + "hostnamectl set-hostname {0}".format(hostname), chk_err=False + ) + def stop_dhcp_service(self): cmd = "systemctl stop {0}".format(self.dhclient_name) return shellutil.run(cmd, chk_err=False)
participants (1)
-
root