#2 Ensuring NetworkManager is there on c8 cloud image, adapted ttyS0 too
Merged 4 years ago by bstinson. Opened 4 years ago by arrfab.
Unknown source fix_network  into  master

file modified
+4 -3
@@ -12,10 +12,10 @@

  # 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 @@

  # 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 @@

  yum

  cloud-init

  cloud-utils-growpart

+ NetworkManager

  dracut-config-generic

  dracut-norescue

  firewalld

Pull-Request has been merged by bstinson

4 years ago
Metadata