From 4ef88699c0fae2fdabb58fec2a0a11ee665110e0 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Jan 09 2020 13:26:49 +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 13df30b..7eb074d 100644 --- a/CentOS-8-GenericCloud.ks +++ b/CentOS-8-GenericCloud.ks @@ -136,6 +136,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 @@ -186,7 +188,6 @@ yum-utils python3-jsonschema qemu-guest-agent -firewalld dhcp-client cockpit-ws cockpit-system