mirror of
git://github.com/lxc/lxc
synced 2025-08-22 07:01:33 +00:00
Merge pull request #4078 from stgraber/master
lxc-checkconfig: Fix bashism
This commit is contained in:
commit
cc07e2d6c0
@ -1652,7 +1652,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
A allowlist device rule
|
||||
A denylist device rule
|
||||
<programlisting>
|
||||
lxc.cgroup2.devices.deny = a
|
||||
</programlisting>
|
||||
@ -1665,7 +1665,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
A denylist device rule
|
||||
An allowlist device rule
|
||||
<programlisting>
|
||||
lxc.cgroup2.devices.allow = a
|
||||
</programlisting>
|
||||
@ -1755,7 +1755,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
lxc.cgroup2.devices.deny = a
|
||||
</programlisting>
|
||||
instead then the last line will cause LXC to reset the device list and
|
||||
switch from a allowlist program to a denylist program.
|
||||
switch from an allowlist program to a denylist program.
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
|
@ -111,7 +111,8 @@ KVER_MINOR=$($CAT $CONFIG | grep '^# Linux.*Kernel Configuration' | \
|
||||
fi
|
||||
|
||||
if [ -z "${KVER_MAJOR}" ]; then
|
||||
echo "WARNING: Unable to detect version from configuration, assuming latest\n"
|
||||
echo "WARNING: Unable to detect version from configuration, assuming latest"
|
||||
echo ""
|
||||
KVER_MAJOR="100"
|
||||
KVER_MINOR="0"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user