>>>>> On Mon, 07 Jun 2021 11:12:55 +0200, Michael Prokop <[email protected]> said:
> and provide an option to either use the old setting
> (ROOTCMD="chroot $FAI_ROOT") or allow manually configuring it.
A quick workaround is to redefine ROOTMD in a hook (ending in .sh) or
in a file class/*.var.
I wonder if a clean solution would be to detect if FAI is running in a docker or
other container enironment and then set ROOTCMD without unshare.
Does any know a reliable way to detect all container environments?
--
viele Grüße Thomas