From c55e05aebb305b4013554ec80298113c50d1c74c Mon Sep 17 00:00:00 2001 From: vedadkajtaz Date: Fri, 3 Jan 2025 16:57:15 +0100 Subject: [PATCH] fix missing replace replace(".", "_") in host_hostuuid because dot is invalid in host name --- iocage_lib/ioc_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocage_lib/ioc_json.py b/iocage_lib/ioc_json.py index d3cc36d4..2e09ead3 100644 --- a/iocage_lib/ioc_json.py +++ b/iocage_lib/ioc_json.py @@ -1755,7 +1755,7 @@ def json_get_value(self, prop, default=False): elif prop == 'devfs_ruleset' and state: ruleset = su.check_output( [ - 'jls', '-j', f'ioc-{conf["host_hostuuid"]}', + 'jls', '-j', f'ioc-{conf["host_hostuuid"].replace(".", "_")}', 'devfs_ruleset' ] ).decode().rstrip()