just do it with main connection

This commit is contained in:
Erica Portnoy 2020-07-13 15:20:47 -07:00
parent 24bf9648f9
commit 369c18ebb7
3 changed files with 0 additions and 6 deletions

View file

@ -1,10 +1,8 @@
#!/bin/sh -e
cb_version="$(snapctl get internal-certbot-version)"
cb_version_2="$(snapctl get internal-certbot-version-2)"
echo "post cb_version $cb_version"
echo "post cb_version_2 $cb_version_2"
# get certbot version
# cb_installed="$(snapctl get cb-installed)"

View file

@ -1,12 +1,9 @@
#!/bin/sh -e
cb_version="$(snapctl get :certbot certbot-version)"
cb_version_2="$(snapctl get :certbot-version certbot-version)"
snapctl set internal-cb-version=$cb_version
snapctl set internal-cb-version_2=$cb_version_2
echo "pre cb_version $cb_version"
echo "pre cb_version_2 $cb_version_2"
# first_install="$(snapctl get first-install)"
# if [ -z "$first_install" ]; then

View file

@ -4,7 +4,6 @@ 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"