diff --git a/src/slurmhelpers/models.py b/src/slurmhelpers/models.py index 4be2a68..99b7254 100644 --- a/src/slurmhelpers/models.py +++ b/src/slurmhelpers/models.py @@ -166,7 +166,7 @@ def generate_key(self) -> None: """ logging.info("Generating new secret file for service `munged`.") try: - subprocess.check_output(["mungectl", "generate"]) + subprocess.check_output(["mungectl", "key", "generate"]) except subprocess.CalledProcessError: logging.fatal("Failed to generate a new munge key") raise