openbsd-ports/sysutils/waagent/patches/patch-azurelinuxagent_common_osutil_openbsd_py
reyk 8423f559a5 The Microsoft Azure Linux Agent (waagent) manages Linux & BSD
provisioning, and VM interaction with the Azure Fabric Controller.

OpenBSD is supported by upstream since version 2.2.13.

OK sthen@
2017-06-23 12:37:09 +00:00

16 lines
624 B
Plaintext

$OpenBSD: patch-azurelinuxagent_common_osutil_openbsd_py,v 1.1.1.1 2017/06/23 12:37:09 reyk Exp $
allow to overwrite /etc with SYSCONFDIR
Index: azurelinuxagent/common/osutil/openbsd.py
--- azurelinuxagent/common/osutil/openbsd.py.orig
+++ azurelinuxagent/common/osutil/openbsd.py
@@ -39,6 +39,7 @@ class OpenBSDOSUtil(DefaultOSUtil):
def __init__(self):
super(OpenBSDOSUtil, self).__init__()
self._scsi_disks_timeout_set = False
+ self.agent_conf_file_path = '${SYSCONFDIR}/waagent.conf'
def get_instance_id(self):
ret, output = shellutil.run_get_output("sysctl -n hw.uuid")