diff options
author | srividya0208 <a.srividya@vyos.io> | 2024-02-06 00:29:02 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-06 07:36:50 +0000 |
commit | b7cedf359f095f85fd6dde5a1a6569e3b48e65a5 (patch) | |
tree | 31e26de4ef1dc5a23a28e6b726c62600b619bf48 /src | |
parent | c1d0a778f9b2a4587dcf53f5537c1eb8c1581878 (diff) | |
download | vyos-1x-b7cedf359f095f85fd6dde5a1a6569e3b48e65a5.tar.gz vyos-1x-b7cedf359f095f85fd6dde5a1a6569e3b48e65a5.zip |
op-mode:T6015:Fix the charon file generated by ipsec debug script
(cherry picked from commit 0c9c496961dc88110da53943a14dd88086ea920d)
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/generate_ipsec_debug_archive.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/op_mode/generate_ipsec_debug_archive.py b/src/op_mode/generate_ipsec_debug_archive.py index 60195d48b..ca2eeb511 100755 --- a/src/op_mode/generate_ipsec_debug_archive.py +++ b/src/op_mode/generate_ipsec_debug_archive.py @@ -24,7 +24,6 @@ from vyos.utils.process import rc_cmd # define a list of commands that needs to be executed CMD_LIST: list[str] = [ - 'ipsec status', 'swanctl -L', 'swanctl -l', 'swanctl -P', @@ -36,7 +35,7 @@ CMD_LIST: list[str] = [ 'ip route | head -100', 'ip route show table 220' ] -JOURNALCTL_CMD: str = 'journalctl -b -n 10000 /usr/lib/ipsec/charon' +JOURNALCTL_CMD: str = 'journalctl --no-hostname --boot --unit strongswan.service' # execute a command and save the output to a file def save_stdout(command: str, file: Path) -> None: |