mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-16 14:28:35 +00:00
docs: Improve command to enable agent debug
Change the command to enable agent debug slightly so that even if the config file specifies kernel parameters, the command will successfully enable the agent debug. Fixes #38. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -68,7 +68,7 @@ Enable full debug as follows:
|
||||
|
||||
```
|
||||
$ sudo sed -i -e 's/^# *\(enable_debug\).*=.*$/\1 = true/g' /usr/share/defaults/kata-containers/configuration.toml
|
||||
$ sudo sed -i -e 's/^kernel_params = ""/kernel_params = "agent.log=debug"/g' /usr/share/defaults/kata-containers/configuration.toml
|
||||
$ sudo sed -i -e 's/^kernel_params = "\(.*\)"/kernel_params = "\1 agent.log=debug"/g' /usr/share/defaults/kata-containers/configuration.toml
|
||||
```
|
||||
|
||||
# Build and install Kata proxy
|
||||
|
Reference in New Issue
Block a user