packer: remove /var/lib/osbuild-composer check

This directory is not used on worker instances. It was a left-over from the
times when this AMI was also used for running composer.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-01-04 10:35:18 +01:00 committed by Ondřej Budai
parent 9d0ae3bc1f
commit 8d81da7d7b

View file

@ -26,14 +26,6 @@ CHECK FILESYSTEM root PATH /
then exec {{ pozorbot_script }}
else if succeeded then exec {{ pozorbot_script }}
# Ensure the osbuild-composer filesystem isn't full.
CHECK FILESYSTEM composer_persistent PATH /var/lib/osbuild-composer
if space usage > 80%
for 5 times
within 15 cycles
then exec {{ pozorbot_script }}
else if succeeded then exec {{ pozorbot_script }}
# Check to see if we can reach cdn.redhat.com.
# NOTE(mhayden): We will always get a 403 here because of client certs.
CHECK HOST rhel_cdn WITH ADDRESS cdn.redhat.com