Fedora 36: bump version; backup bash input history for future reference

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
Maurice Zhou
2022-05-14 01:08:03 +02:00
committed by George Melikov
parent 5e947852c7
commit 0ff944c678
6 changed files with 15 additions and 7 deletions

View File

@@ -111,6 +111,7 @@ System Configuration
INST_ID=$INST_ID INST_ID=$INST_ID
INST_VDEV=$INST_VDEV INST_VDEV=$INST_VDEV
DISK=\"$DISK\"" > /mnt/root/chroot DISK=\"$DISK\"" > /mnt/root/chroot
history -w /mnt/home/sys-install-pre-chroot.txt
arch-chroot /mnt bash --login arch-chroot /mnt bash --login
#. Source variables:: #. Source variables::

View File

@@ -7,11 +7,11 @@ Preparation
:local: :local:
#. Disable Secure Boot. ZFS modules can not be loaded if Secure Boot is enabled. #. Disable Secure Boot. ZFS modules can not be loaded if Secure Boot is enabled.
#. Download a variant of Fedora 35 live image #. Download a variant of Fedora 36 live image
and boot from it. and boot from it.
- `Fedora Workstation (GNOME) <https://download.fedoraproject.org/pub/fedora/linux/releases/35/Workstation/x86_64/iso/>`__ - `Fedora Workstation (GNOME) <https://download.fedoraproject.org/pub/fedora/linux/releases/36/Workstation/x86_64/iso/>`__
- `Fedora Spins (Xfce, i3, ...) <https://download.fedoraproject.org/pub/fedora/linux/releases/35/Spins/x86_64/iso/>`__ - `Fedora Spins (Xfce, i3, ...) <https://download.fedoraproject.org/pub/fedora/linux/releases/36/Spins/x86_64/iso/>`__
#. Set root password or ``/root/.ssh/authorized_keys``. #. Set root password or ``/root/.ssh/authorized_keys``.
#. Start SSH server:: #. Start SSH server::
@@ -56,7 +56,7 @@ Preparation
#. Target Fedora version:: #. Target Fedora version::
INST_FEDORA_VER='35' INST_FEDORA_VER=${VERSION_ID}
#. Unique pool suffix. ZFS expects pool names to be #. Unique pool suffix. ZFS expects pool names to be
unique, therefore it's recommended to create unique, therefore it's recommended to create

View File

@@ -91,6 +91,8 @@ System Configuration
unalias -a unalias -a
INST_VDEV=$INST_VDEV INST_VDEV=$INST_VDEV
DISK=\"$DISK\"" > /mnt/root/chroot DISK=\"$DISK\"" > /mnt/root/chroot
#backup bash inputs up to this point
history -w /mnt/home/sys-install-pre-chroot.txt
arch-chroot /mnt bash --login arch-chroot /mnt bash --login
#. Source variables:: #. Source variables::

View File

@@ -62,6 +62,10 @@ System installation
zfs snapshot -r rpool_$INST_UUID/$INST_ID@install_start zfs snapshot -r rpool_$INST_UUID/$INST_ID@install_start
zfs snapshot -r bpool_$INST_UUID/$INST_ID@install_start zfs snapshot -r bpool_$INST_UUID/$INST_ID@install_start
#. Back up bash inputs::
history -w /mnt/home/sys-install-pre-chroot.txt
#. Apply configuration #. Apply configuration
If root password hash is not set:: If root password hash is not set::

View File

@@ -53,12 +53,12 @@ Preparation
#. Install helper script and partition tool:: #. Install helper script and partition tool::
rpm -ivh --nodeps https://dl.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/Packages/a/arch-install-scripts-24-2.fc35.noarch.rpm rpm -ivh --nodeps https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/x86_64/os/Packages/a/arch-install-scripts-24-3.fc36.noarch.rpm
dnf install -y gdisk dosfstools dnf install -y gdisk dosfstools
#. Set RHEL version:: #. Set RHEL major version::
INST_RHEL_VER=8 INST_RHEL_VER=${VERSION_ID%%.*}
#. Unique pool suffix. ZFS expects pool names to be #. Unique pool suffix. ZFS expects pool names to be
unique, therefore it's recommended to create unique, therefore it's recommended to create

View File

@@ -87,6 +87,7 @@ System Configuration
INST_VDEV=$INST_VDEV INST_VDEV=$INST_VDEV
INST_VDEV=$INST_VDEV INST_VDEV=$INST_VDEV
DISK=\"$DISK\"" > /mnt/root/chroot DISK=\"$DISK\"" > /mnt/root/chroot
history -w /mnt/home/sys-install-pre-chroot.txt
arch-chroot /mnt bash --login arch-chroot /mnt bash --login
#. Source variables:: #. Source variables::