From 46ab7929cd66a33e70a49cc97fed36c2753880fb Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Jan 09 2020 13:24:39 +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..2cbd929 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 +echo "done" + %end %packages @@ -186,7 +188,6 @@ yum-utils python3-jsonschema qemu-guest-agent -firewalld dhcp-client cockpit-ws cockpit-system