diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-05 17:17:50 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-05 17:17:50 +0000 |
commit | 97326920e2907bdb545853887dc54c6a02b76f28 (patch) | |
tree | d6164146f63e9b892a0d0091535cdb58b1018e00 /op-mode-definitions | |
parent | 487c817ea320ddabcdaf41a8112937a29c19443e (diff) | |
download | vyos-1x-97326920e2907bdb545853887dc54c6a02b76f28.tar.gz vyos-1x-97326920e2907bdb545853887dc54c6a02b76f28.zip |
T5423: Fix for op-mode show vpn ike secrets
We don't use ipsec.secrets anymore
Fix op-mode for "show vpn ike secrets".
Ability to get "RAW" format
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/vpn-ipsec.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in index c7ba780a3..b551af2be 100644 --- a/op-mode-definitions/vpn-ipsec.xml.in +++ b/op-mode-definitions/vpn-ipsec.xml.in @@ -177,7 +177,7 @@ <properties> <help>Show all the pre-shared key secrets</help> </properties> - <command>sudo cat /etc/ipsec.secrets | sed 's/#.*//'</command> + <command>${vyos_op_scripts_dir}/ipsec.py show_psk</command> </node> <node name="status"> <properties> |