mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +00:00
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 <pbrobinson@fedoraproject.org>
This commit is contained in:
parent
e0e66778c6
commit
8ea142456d
@ -5,7 +5,6 @@ lang en_US.UTF-8
|
|||||||
keyboard us
|
keyboard us
|
||||||
timezone --utc Etc/UTC
|
timezone --utc Etc/UTC
|
||||||
|
|
||||||
auth --useshadow --passalgo=sha512
|
|
||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
rootpw --lock --iscrypted locked
|
rootpw --lock --iscrypted locked
|
||||||
|
|
||||||
@ -36,8 +35,8 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
|||||||
if [[ $arch == "aarch64" ]]; then
|
if [[ $arch == "aarch64" ]]; then
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
else
|
else
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-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/fw/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
fi
|
fi
|
||||||
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
|
# For trac ticket https://pagure.io/atomic-wg/issue/128
|
||||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
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.
|
# Anaconda is writing an /etc/resolv.conf from the install environment.
|
||||||
# The system should start out with an empty file, otherwise cloud-init
|
# The system should start out with an empty file, otherwise cloud-init
|
||||||
# will try to use this information and may error:
|
# will try to use this information and may error:
|
||||||
|
Loading…
Reference in New Issue
Block a user