mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-19 22:34:28 +01:00
docs: Unbreak debug console instructions
The debug console systemd job needs to specify `PrivateDevices=no` to ensure the job can access the *real* console. Without this, connecting to the socket does not provide access to the main guest root context. Fixes #403. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -646,7 +646,8 @@ Description=Kata Containers debug console
|
||||
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
PrivateDevices=yes
|
||||
# Must be disabled to allow the job to access the real console
|
||||
PrivateDevices=no
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/bash
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user