templates/packer: Make cdn host check less sensitive
This commit is contained in:
parent
68e98244b9
commit
ef6c5df9fa
1 changed files with 8 additions and 2 deletions
|
|
@ -31,12 +31,18 @@ CHECK FILESYSTEM root PATH /
|
|||
CHECK HOST rhel_cdn WITH ADDRESS cdn.redhat.com
|
||||
if failed
|
||||
ping
|
||||
for 3 cycles
|
||||
then exec {{ pozorbot_script }}
|
||||
else if succeeded
|
||||
for 3 cycles
|
||||
then exec {{ pozorbot_script }}
|
||||
else if succeeded then exec {{ pozorbot_script }}
|
||||
if failed
|
||||
port 443
|
||||
protocol https
|
||||
status = 403
|
||||
with ssl options { CACERTIFICATEFILE: /etc/rhsm/ca/redhat-uep.pem }
|
||||
for 3 cycles
|
||||
then exec {{ pozorbot_script }}
|
||||
else if succeeded
|
||||
for 3 cycles
|
||||
then exec {{ pozorbot_script }}
|
||||
else if succeeded then exec {{ pozorbot_script }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue