Merge pull request #39 from jodh-intel/dev-guide-improve-agent-debug

docs: Improve command to enable agent debug
This commit is contained in:
Eric Ernst 2018-03-28 08:41:02 -07:00 committed by GitHub
commit a6de7edc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,9 +65,10 @@ If your system is *not* able to run Kata Containers, the previous command will e
## Enable full debug
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