289e17
@@ -138,6 +138,8 @@
# reorder console entries
sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg
+ true
+
%end
%packages
@@ -188,7 +190,6 @@
python3-jsonschema
qemu-guest-agent
- firewalld
dhcp-client
cockpit-ws
cockpit-system
Adding one simple 'echo' command makes whole process works automatically. Without it I got "Press ENTER to continue" right after dnf uninstalls firewalld and then several times again.
Therefore I declare it voodoo.
This is script I used to test does it work:
11:46 (8s) hrw@j13-qrep-04:kickstarts$ cat run.sh reset KICKSTART="CentOS-8-GenericCloud.ks" #KICKSTART="rhel82-kvm.ks" sudo virt-install --name $1 \ --destroy-on-exit \ --initrd-inject $KICKSTART \ --extra-args "inst.ks=file:/$KICKSTART inst.proxy=http://10.101.16.13:3128/ quiet inst.repo=http://mirror.centos.org/centos/8/BaseOS/aarch64/os/" \ --ram 8192 \ --vcpus 8 \ --os-variant rhel8.0 \ --location http://mirror.centos.org/centos/8/BaseOS/aarch64/os/ \ --disk path=/var/lib/libvirt/images/${1}.qcow2,format=qcow2,size=18,cache=none,bus=virtio exit
removed as it is repeated here
It can be other command too. I had "truncate" here before.
rebased onto 46ab792
rebased onto 4ef8869
13:40 < hrw> have some idea but need x86 cloud image 13:56 < Arrfab> hrw: what's your "idea" ? 14:09 < hrw> Arrfab: last command is 'sed' - it errors out as /boot/grub2/grub.cfg is not present == whole %post errors out 14:09 < hrw> Arrfab: add 'true' in next line == %post passes, everyone is happy 14:09 < Arrfab> hrw: oh, that would be a good catch .. so maybe trying to remove the sed line and it would work ? 14:10 < Arrfab> but same would probably apply for x86_64 and ppc64le but they can build fine 14:10 < hrw> Arrfab: fixfiles before it also errors out as it tries to process not existing files
rebased onto 289e173
Pull-Request has been merged by bstinson
Adding one simple 'echo' command makes whole process works
automatically. Without it I got "Press ENTER to continue" right after
dnf uninstalls firewalld and then several times again.
Therefore I declare it voodoo.