mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
move adding python3-devel.x86_64 to bootstrap_os_packages to avoid potential race condition
This commit is contained in:
parent
45f30b5d46
commit
c90329c5c9
2 changed files with 7 additions and 5 deletions
|
|
@ -140,6 +140,13 @@ BootstrapRpmPython3() {
|
|||
python3-devel
|
||||
"
|
||||
|
||||
if ! $TOOL list python3-devel >/dev/null 2>&1; then
|
||||
yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
|
||||
python_pkgs="$python_pkgs
|
||||
python3-devel.x86_64
|
||||
"
|
||||
fi
|
||||
|
||||
BootstrapRpmCommonBase "$python_pkgs"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,11 +38,6 @@ targets:
|
|||
type: centos
|
||||
virt: hvm
|
||||
user: ec2-user
|
||||
userdata: |
|
||||
#cloud-config
|
||||
runcmd:
|
||||
- yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
|
||||
- yum install -y python3-devel.x86_64
|
||||
- ami: ami-0c322300a1dd5dc79
|
||||
name: RHEL8
|
||||
type: centos
|
||||
|
|
|
|||
Loading…
Reference in a new issue