diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-02-06 10:24:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 10:24:19 +0000 |
commit | da465d26b524fb26e0e9085e80a3ccaa6435eaa9 (patch) | |
tree | 31e26de4ef1dc5a23a28e6b726c62600b619bf48 /src/op_mode | |
parent | c1d0a778f9b2a4587dcf53f5537c1eb8c1581878 (diff) | |
parent | b7cedf359f095f85fd6dde5a1a6569e3b48e65a5 (diff) | |
download | vyos-1x-da465d26b524fb26e0e9085e80a3ccaa6435eaa9.tar.gz vyos-1x-da465d26b524fb26e0e9085e80a3ccaa6435eaa9.zip |
Merge pull request #2943 from vyos/mergify/bp/current/pr-2942
op-mode:T6015:Fix for charon file generated by ipsec debug script (backport #2942)
Diffstat (limited to 'src/op_mode')
-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: |