@@ -138,6 +138,8 @@
# reorder console entries
sed -i 's/console=tty0/console=tty0 console=ttyS0,115200n8/' /boot/grub2/grub.cfg
@@ -188,7 +190,6 @@
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
sudo virt-install --name $1 \
--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/ \
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
SSH Hostkey/Fingerprint | Documentation