mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 16:12:09 +02:00
modified to allow pip variable
This commit is contained in:
@@ -74,6 +74,9 @@ parser.add_argument('--merge_master',
|
|||||||
parser.add_argument('--saveinstances',
|
parser.add_argument('--saveinstances',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help="don't kill EC2 instances after run, useful for debugging")
|
help="don't kill EC2 instances after run, useful for debugging")
|
||||||
|
parser.add_argument('--alt_pip',
|
||||||
|
default='https://certainly.isnot.org',
|
||||||
|
help="server from which to pull candidate release packages")
|
||||||
cl_args = parser.parse_args()
|
cl_args = parser.parse_args()
|
||||||
|
|
||||||
# Credential Variables
|
# Credential Variables
|
||||||
@@ -277,6 +280,7 @@ def install_and_launch_letsencrypt(instance, boulder_url, target):
|
|||||||
PUBLIC_IP=instance.public_ip_address,
|
PUBLIC_IP=instance.public_ip_address,
|
||||||
PRIVATE_IP=instance.private_ip_address,
|
PRIVATE_IP=instance.private_ip_address,
|
||||||
PUBLIC_HOSTNAME=instance.public_dns_name,
|
PUBLIC_HOSTNAME=instance.public_dns_name,
|
||||||
|
PIP_EXTRA_INDEX_URL=cl_args.alt_pip,
|
||||||
OS_TYPE=target['type']):
|
OS_TYPE=target['type']):
|
||||||
execute(deploy_script, cl_args.test_script)
|
execute(deploy_script, cl_args.test_script)
|
||||||
|
|
||||||
|
|||||||
@@ -36,9 +36,6 @@ fi
|
|||||||
|
|
||||||
# run letsencrypt-apache2 via letsencrypt-auto
|
# run letsencrypt-apache2 via letsencrypt-auto
|
||||||
cd letsencrypt
|
cd letsencrypt
|
||||||
./bootstrap/install-deps.sh
|
letsencrypt-auto -v --debug --text --agree-dev-preview --agree-tos \
|
||||||
./bootstrap/dev/venv.sh
|
|
||||||
source ./venv/bin/activate
|
|
||||||
sudo ./venv/bin/letsencrypt -v --debug --text --agree-dev-preview --agree-tos \
|
|
||||||
--renew-by-default --redirect --register-unsafely-without-email \
|
--renew-by-default --redirect --register-unsafely-without-email \
|
||||||
--domain $PUBLIC_HOSTNAME --server $BOULDER_URL
|
--domain $PUBLIC_HOSTNAME --server $BOULDER_URL
|
||||||
|
|||||||
Reference in New Issue
Block a user