From 289e17389fd021274dc61870945c7b5391978822 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Jan 09 2020 15:59:02 +0000 Subject: make sure that %post exits with errorcode 0 Sed command fails on aarch64 because file is not present. So whole %post exists with error. --- diff --git a/CentOS-8-GenericCloud.ks b/CentOS-8-GenericCloud.ks index f6f8845..4693f7a 100644 --- a/CentOS-8-GenericCloud.ks +++ b/CentOS-8-GenericCloud.ks @@ -138,6 +138,8 @@ mkdir -p /var/cache/yum # reorder console entries sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg +true + %end %packages @@ -188,7 +190,6 @@ yum-utils python3-jsonschema qemu-guest-agent -firewalld dhcp-client cockpit-ws cockpit-system