From 8ea142456d5152a864056c48b1e3298eda29037e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 4 Dec 2019 09:56:12 +0000 Subject: [PATCH] IoT: fixes and cleanups for IoT edition Use defaults for authselect, auth is deprecated, update rpi boot bits drop old atomic cmds, no longer shipped. Signed-off-by: Peter Robinson --- fedora-iot.ks | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fedora-iot.ks b/fedora-iot.ks index 1b7dd15..b01b508 100644 --- a/fedora-iot.ks +++ b/fedora-iot.ks @@ -5,7 +5,6 @@ lang en_US.UTF-8 keyboard us timezone --utc Etc/UTC -auth --useshadow --passalgo=sha512 selinux --enforcing rootpw --lock --iscrypted locked @@ -36,8 +35,8 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then if [[ $arch == "aarch64" ]]; then cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin else -cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin -cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin +cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin +cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin fi fi @@ -97,9 +96,6 @@ echo "(Don't worry -- that out-of-space error was expected.)" # For trac ticket https://pagure.io/atomic-wg/issue/128 rm -f /etc/sysconfig/network-scripts/ifcfg-ens3 -echo "Adding Developer Mode GRUB2 menu item." -/usr/libexec/atomic-devmode/bootentry add - # Anaconda is writing an /etc/resolv.conf from the install environment. # The system should start out with an empty file, otherwise cloud-init # will try to use this information and may error: