summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-14 12:36:43 +0200
committerChristian Breunig <christian@breunig.cc>2024-06-14 12:36:43 +0200
commit9456113a202f98a777d44c756f7f51c95b1df027 (patch)
tree083bdf6553a970319af1ead94468de1bb19c1a1a
parentdd813e5b79d612106b0bc7a064f9633be5da9571 (diff)
downloadvyos-1x-9456113a202f98a777d44c756f7f51c95b1df027.tar.gz
vyos-1x-9456113a202f98a777d44c756f7f51c95b1df027.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.
-rw-r--r--op-mode-definitions/pki.xml.in2
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>