Reorder SSH step
This reduces the number of steps in the "First Boot" section that are not related to the first boot. Reported-by: Jonathan Dumont <JOduMonT> Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
@@ -741,6 +741,13 @@ Step 4: System Configuration
|
|||||||
cp /usr/share/systemd/tmp.mount /etc/systemd/system/
|
cp /usr/share/systemd/tmp.mount /etc/systemd/system/
|
||||||
systemctl enable tmp.mount
|
systemctl enable tmp.mount
|
||||||
|
|
||||||
|
#. Optional: Install SSH::
|
||||||
|
|
||||||
|
apt install --yes openssh-server
|
||||||
|
|
||||||
|
vi /etc/ssh/sshd_config
|
||||||
|
# Set: PermitRootLogin yes
|
||||||
|
|
||||||
#. Optional (but kindly requested): Install popcon
|
#. Optional (but kindly requested): Install popcon
|
||||||
|
|
||||||
The ``popularity-contest`` package reports the list of packages install
|
The ``popularity-contest`` package reports the list of packages install
|
||||||
@@ -850,13 +857,6 @@ Step 5: GRUB Installation
|
|||||||
Step 6: First Boot
|
Step 6: First Boot
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
#. Optional: Install SSH::
|
|
||||||
|
|
||||||
apt install --yes openssh-server
|
|
||||||
|
|
||||||
vi /etc/ssh/sshd_config
|
|
||||||
# Set: PermitRootLogin yes
|
|
||||||
|
|
||||||
#. Optional: Snapshot the initial installation::
|
#. Optional: Snapshot the initial installation::
|
||||||
|
|
||||||
zfs snapshot bpool/BOOT/debian@install
|
zfs snapshot bpool/BOOT/debian@install
|
||||||
|
|||||||
@@ -920,6 +920,13 @@ Step 4: System Configuration
|
|||||||
zfs root
|
zfs root
|
||||||
<https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1875577>`__.
|
<https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1875577>`__.
|
||||||
|
|
||||||
|
#. Optional: Install SSH::
|
||||||
|
|
||||||
|
apt install --yes openssh-server
|
||||||
|
|
||||||
|
vi /etc/ssh/sshd_config
|
||||||
|
# Set: PermitRootLogin yes
|
||||||
|
|
||||||
Step 5: GRUB Installation
|
Step 5: GRUB Installation
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
@@ -1035,16 +1042,6 @@ Step 5: GRUB Installation
|
|||||||
|
|
||||||
sed -Ei "s|/mnt/?|/|" /etc/zfs/zfs-list.cache/*
|
sed -Ei "s|/mnt/?|/|" /etc/zfs/zfs-list.cache/*
|
||||||
|
|
||||||
Step 6: First Boot
|
|
||||||
------------------
|
|
||||||
|
|
||||||
#. Optional: Install SSH::
|
|
||||||
|
|
||||||
apt install --yes openssh-server
|
|
||||||
|
|
||||||
vi /etc/ssh/sshd_config
|
|
||||||
# Set: PermitRootLogin yes
|
|
||||||
|
|
||||||
#. Exit from the ``chroot`` environment back to the LiveCD environment::
|
#. Exit from the ``chroot`` environment back to the LiveCD environment::
|
||||||
|
|
||||||
exit
|
exit
|
||||||
@@ -1062,6 +1059,9 @@ Step 6: First Boot
|
|||||||
|
|
||||||
Wait for the newly installed system to boot normally. Login as root.
|
Wait for the newly installed system to boot normally. Login as root.
|
||||||
|
|
||||||
|
Step 6: First Boot
|
||||||
|
------------------
|
||||||
|
|
||||||
#. Install GRUB to additional disks:
|
#. Install GRUB to additional disks:
|
||||||
|
|
||||||
For a UEFI mirror or raidz topology only::
|
For a UEFI mirror or raidz topology only::
|
||||||
|
|||||||
Reference in New Issue
Block a user