# The URL of the server to connect to.
# server = https://pakfirehub.ipfire.org/
-# The hostname of this machine.
-# hostname = <automatically detected>
-
-# The authentication secret that is used
-# to identify this host against the pakfire
-# build service.
-# secret = 1234...
+# The keytab file that is being used to authenticate against the Hub
+# keytab = /etc/krb5.keytab
url = self.config.get("daemon", "server", PAKFIRE_HUB)
# Host Credentials
- hostname = self.config.get("daemon", "hostname", socket.gethostname())
- password = self.config.get("daemon", "secret")
-
- if not hostname or not password:
- raise RuntimeError("Host credentials are not set")
+ keytab = self.config.get("daemon", "keytab", None)
# Create connection to the hub
- return hub.Hub(url, hostname, password)
+ return hub.Hub(url, keytab=keytab)
async def run(self):
"""