Fix systemd_nspawn_user_args override
This commit is contained in:
parent
9690a5a430
commit
32843daf49
2
jlmkr.py
2
jlmkr.py
|
@ -1319,7 +1319,7 @@ def create_jail(**kwargs):
|
||||||
if (
|
if (
|
||||||
value is not None
|
value is not None
|
||||||
# String, non-empty list of args or int
|
# String, non-empty list of args or int
|
||||||
and (len(value) or isinstance(value, int))
|
and (isinstance(value, int) or len(value))
|
||||||
and value is not config.my_get(option, None)
|
and value is not config.my_get(option, None)
|
||||||
):
|
):
|
||||||
# TODO: this will wipe all systemd_nspawn_user_args from the template...
|
# TODO: this will wipe all systemd_nspawn_user_args from the template...
|
||||||
|
|
Loading…
Reference in New Issue