diff --git a/CentOS-8-GenericCloud.ks b/CentOS-8-GenericCloud.ks index cea3ef8..04c6ff9 100644 --- a/CentOS-8-GenericCloud.ks +++ b/CentOS-8-GenericCloud.ks @@ -12,10 +12,10 @@ network --hostname=localhost.localdomain # Root password rootpw --iscrypted thereisnopasswordanditslocked selinux --enforcing -services --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-config,cloud-final,rngd" +services --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd" timezone UTC --isUtc # Disk -bootloader --append="console=tty0,115200n8 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1 --boot-drive=vda +bootloader --append="console=ttyS0,115200n8 no_console=tty0 timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1 --boot-drive=vda zerombr clearpart --all --initlabel reqpart @@ -50,7 +50,7 @@ yum -C -y remove linux-firmware # Remove firewalld; it is required to be present for install/image building. # but we dont ship it in cloud yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1" -yum -C -y remove avahi\* Network\* +yum -C -y remove avahi\* sed -i '/^#NAutoVTs=.*/ a\ NAutoVTs=0' /etc/systemd/logind.conf @@ -144,6 +144,7 @@ dnf yum cloud-init cloud-utils-growpart +NetworkManager dracut-config-generic dracut-norescue firewalld