From ec8d102c65b18a587a6d5f8f57d0cb5d74edc3fb Mon Sep 17 00:00:00 2001 From: Jarryd Lisher Date: Mar 04 2022 18:20:40 +0000 Subject: Fix systemd-nspawn - setenforce I believe the second `setenforce 0` should be `setenforce 1`, to put selinux back into enforcing mode. --- diff --git a/docs/modules/ROOT/pages/container-nspawn-install.adoc b/docs/modules/ROOT/pages/container-nspawn-install.adoc index 2eb84b8..38ca55e 100644 --- a/docs/modules/ROOT/pages/container-nspawn-install.adoc +++ b/docs/modules/ROOT/pages/container-nspawn-install.adoc @@ -125,7 +125,7 @@ This requires temporarily setting SELinux to permissive, otherwise passwd will n ---- […]# setenforce 0 […]# systemd-nspawn -D /var/lib/machines/{ctname} passwd - […]# setenforce 0 + […]# setenforce 1 ---- 2. Provision of network interfaces for the container within the host +