diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-14 12:36:43 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-14 20:54:21 +0000 |
commit | 833b33403f172f95b2384d92d60307049c1750ae (patch) | |
tree | b8fd1dd08661ab27ae2e35ce1fc1b82f91b5b87b | |
parent | 95b62fbc35b3da0cb7e7fea0b02b3d16fa0368b3 (diff) | |
download | vyos-1x-833b33403f172f95b2384d92d60307049c1750ae.tar.gz vyos-1x-833b33403f172f95b2384d92d60307049c1750ae.zip |
op-mode: T6480: must call pki.py helper as root to work with ACME certificates
This is an addition to commit 65fba1cd2 ("op-mode: T6377: must call pki.py
helper as root to work with ACME certificates") which missed out the basic
"show pki" command, as the <command> XML node was deep down in the view.
(cherry picked from commit 9456113a202f98a777d44c756f7f51c95b1df027)
-rw-r--r-- | op-mode-definitions/pki.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/pki.xml.in b/op-mode-definitions/pki.xml.in index f76b4f4e1..254ef08cc 100644 --- a/op-mode-definitions/pki.xml.in +++ b/op-mode-definitions/pki.xml.in @@ -490,6 +490,7 @@ <properties> <help>Show PKI x509 certificates</help> </properties> + <command>sudo ${vyos_op_scripts_dir}/pki.py --action show</command> <children> <leafNode name="ca"> <properties> @@ -570,7 +571,6 @@ </children> </tagNode> </children> - <command>${vyos_op_scripts_dir}/pki.py --action show</command> </node> </children> </node> |