Skip to content

Commit

Permalink
fix missing replace
Browse files Browse the repository at this point in the history
replace(".", "_") in host_hostuuid because dot is invalid in host name
  • Loading branch information
vedadkajtaz authored Jan 3, 2025
1 parent a0147c0 commit c55e05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iocage_lib/ioc_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c55e05a

Please sign in to comment.