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
12
12
export DEBIAN_FRONTEND=noninteractive
13
13
export DEBCONF_NONINTERACTIVE_SEEN=true
14
14
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}
16
17
dpkg-reconfigure -f noninteractive
17
18
18
19
# Make sure the kernel is installed and configured before ZFS
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
cat << 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
6
6
EOF
7
7
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
11
11
EOF
12
12
13
13
apt-get update
@@ -17,8 +17,9 @@ export TERM=linux
17
17
export DEBIAN_FRONTEND=noninteractive
18
18
export DEBCONF_NONINTERACTIVE_SEEN=true
19
19
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
22
23
23
24
# Make sure the kernel is installed and configured before ZFS
24
25
# 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
7
7
fi
8
8
9
9
if [[ " $0 " =~ " ubuntu" ]]; then
10
- SUITE=" focal "
10
+ SUITE=" jammy "
11
11
MIRROR=" http://us.archive.ubuntu.com/ubuntu/"
12
12
CONFIGURATOR=" configure-ubuntu.sh"
13
13
else
You can’t perform that action at this time.
0 commit comments