Update comments

This commit is contained in:
Jip-Hop 2024-01-29 08:58:28 +01:00
parent 0f22a56946
commit ad95fe7cab
1 changed files with 2 additions and 2 deletions

View File

@ -320,8 +320,6 @@ def start_jail(jail_name, check_startup_enabled=False):
f"--description=My nspawn jail {jail_name} [created with jailmaker]",
]
# Always add --bind-ro=/sys/module to make lsmod happy
# https://manpages.debian.org/bookworm/manpages/sysfs.5.en.html
systemd_nspawn_additional_args = [
f"--machine={jail_name}",
f"--directory={JAIL_ROOTFS_NAME}",
@ -984,6 +982,8 @@ def create_jail(jail_name, distro="debian", release="bookworm"):
"--setenv=SYSTEMD_NSPAWN_LOCK=0",
]
# Always add --bind-ro=/sys/module to make lsmod happy
# https://manpages.debian.org/bookworm/manpages/sysfs.5.en.html
systemd_nspawn_default_args = [
"--keep-unit",
"--quiet",