mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
interface attributes can only be set during the execution of prepare hooks
This commit is contained in:
parent
d853644140
commit
24bf9648f9
2 changed files with 2 additions and 6 deletions
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
|
||||
|
||||
snapctl set :plugin certbot-version="test1"
|
||||
snapctl set :certbot-version certbot-version="test2"
|
||||
|
|
@ -3,6 +3,8 @@
|
|||
if [ "$(snapctl get trust-plugin-with-root)" = "ok" ]; then
|
||||
# allow the connection, but reset config to allow for other slots to go through this auth flow
|
||||
snapctl unset trust-plugin-with-root
|
||||
snapctl set :plugin certbot-version="test1"
|
||||
snapctl set :certbot-version certbot-version="test2"
|
||||
exit 0
|
||||
else
|
||||
echo "Only connect this interface if you trust the plugin author to have root on the system"
|
||||
|
|
|
|||
Loading…
Reference in a new issue