File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ export TERM=linux
1212export DEBIAN_FRONTEND=noninteractive
1313export DEBCONF_NONINTERACTIVE_SEEN=true
1414
15- apt-get install --yes locales console-setup ca-certificates openssh-{client,server}
15+ apt-get install --yes bsdextrautils \
16+ locales console-setup ca-certificates openssh-{client,server}
1617dpkg-reconfigure -f noninteractive
1718
1819# Make sure the kernel is installed and configured before ZFS
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33cat << EOF > /etc/apt/sources.list
4- deb http://us.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
5- deb-src http://us.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
4+ deb http://us.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
5+ deb-src http://us.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
66EOF
77
8- cat << EOF > /etc/apt/sources.list.d/focal -backports.list
9- deb http://us.archive.ubuntu.com/ubuntu focal -backports main restricted universe multiverse
10- deb-src http://us.archive.ubuntu.com/ubuntu focal -backports main restricted universe multiverse
8+ cat << EOF > /etc/apt/sources.list.d/jammy -backports.list
9+ deb http://us.archive.ubuntu.com/ubuntu jammy -backports main restricted universe multiverse
10+ deb-src http://us.archive.ubuntu.com/ubuntu jammy -backports main restricted universe multiverse
1111EOF
1212
1313apt-get update
@@ -17,8 +17,9 @@ export TERM=linux
1717export DEBIAN_FRONTEND=noninteractive
1818export DEBCONF_NONINTERACTIVE_SEEN=true
1919
20- apt-get install --yes locales console-setup ca-certificates openssh-{client,server}
21- dpkg-reconfigure -f noninteractive
20+ apt-get install --yes bsdextrautils \
21+ locales console-setup ca-certificates openssh-{client,server}
22+ dpkg --configure -a
2223
2324# Make sure the kernel is installed and configured before ZFS
2425# Don't allow the kernel to pull in recommended packages (including GRUB)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ -z "${CHROOT_MNT}" ] || [ ! -d "${CHROOT_MNT}" ]; then
77fi
88
99if [[ " $0 " =~ " ubuntu" ]]; then
10- SUITE=" focal "
10+ SUITE=" jammy "
1111 MIRROR=" http://us.archive.ubuntu.com/ubuntu/"
1212 CONFIGURATOR=" configure-ubuntu.sh"
1313else
You can’t perform that action at this time.
0 commit comments