diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-02-06 09:35:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 09:35:21 +0200 |
commit | b10d1c0bd60d3497417e124c6d5e0f5291a56853 (patch) | |
tree | e05b0e9510ad044ec4f0229ae0813d81baf44cfa | |
parent | c1be1713ae1e1a0b28791d5d9e04904bbc86c74a (diff) | |
parent | 0c9c496961dc88110da53943a14dd88086ea920d (diff) | |
download | vyos-1x-b10d1c0bd60d3497417e124c6d5e0f5291a56853.tar.gz vyos-1x-b10d1c0bd60d3497417e124c6d5e0f5291a56853.zip |
Merge pull request #2942 from srividya0208/debug-ipsec
op-mode:T6015:Fix for charon file generated by ipsec debug script
-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: |