[CentOS-devel] CentOS 8 on AWS

Sun Jun 14 17:18:11 UTC 2020
Leon Fauster <leonfauster at googlemail.com>

Am 12.06.20 um 22:21 schrieb Leon Fauster:
> 
> I build an image based 8.1.1911 (via virt-install) and got it booted on
> AWS. I noticed while updating the system that dracut has a problem with
> the injected config in /etc/dracut.conf.d/sgdisk.conf (via 
> CentOS-8-EC2.ks):
> 
> ...
> Running scriptlet: glibc-all-langpacks-2.28-72.el8_1.1.x86_64 159/159
> Running scriptlet: sssd-common-2.2.0-19.el8_1.1.x86_64        159/159
> Running scriptlet: kernel-core-4.18.0-147.8.1.el8_1.x86_64    159/159
> 
> dracut-install: ERROR: installing 'sgdisk'
> dracut: FAILED: /usr/lib/dracut/dracut-install -D 
> /var/tmp/dracut.2koCGr/initramfs -a sgdisk
> dracut-install: ERROR: installing 'sgdisk'
> dracut: FAILED: /usr/lib/dracut/dracut-install -D 
> /var/tmp/dracut.VAhgEc/initramfs -a sgdisk
> 
> Running scriptlet: microcode_ctl-4:20190618-1.20191115.3.el8_1.x86_64 
> 159/159
> 
> dracut-install: ERROR: installing 'sgdisk'
> dracut: FAILED: /usr/lib/dracut/dracut-install -D 
> /var/tmp/dracut.skbKmv/initramfs -a sgdisk
> 
> Running scriptlet: tuned-2.12.0-3.el8_1.1.noarch            159/159
> Running scriptlet: glibc-all-langpacks-2.28-72.el8.x86_64   159/159
> Running scriptlet: glibc-common-2.28-72.el8_1.1.x86_64
> ...
> 
> 
> Does this problem persists in 8.2.2004 ?
> 
> 

Okay I got it. It seems to happen because gdisk rpm is missed.

Maybe a good idea to update CentOS-8-EC2.ks to install gdisk ahead ...

--
Leon