Bump Ubuntu image to 20.04 LTS

This commit is contained in:
Timothée Floure 2020-11-24 09:41:04 +01:00
parent ad3acd5ebe
commit c96ec75193
Signed by: tfloure
GPG Key ID: 4502C902C00A1E12
2 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,8 @@ echo "unconfigured-host" > "$chroot_dir/etc/hostname"
# Add non-free repository for firmware-bnx2 network card firmware.
echo "deb http://deb.debian.org/debian/ $release main contrib non-free" > "$chroot_dir/etc/apt/sources.list"
echo "deb http://deb.debian.org/debian/ $release-updates main contrib non-free" >> "$chroot_dir/etc/apt/sources.list"
chroot "$chroot_dir" apt-get update
chroot "$chroot_dir" apt-get install -y firmware-bnx2
@ -63,16 +65,19 @@ auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 auto
post-up /sbin/ip link set \$IFACE mtu 9000
# OpenNebula VM vlan
auto eth0.10
iface eth0.10 inet6 auto
vlan-raw-device eth0
post-up /sbin/ip link set \$IFACE mtu 9000
# OpenNebula VM bridge
auto br-vms
iface br-vms inet6 auto
bridge_ports eth0.10
post-up /sbin/ip link set \$IFACE mtu 9000
EOF
# Build initramfs from generated installation.

View File

@ -9,7 +9,7 @@ set -e
set -x
# XXX: Handle command-line arguments?
RELEASE=eoan # 19.10
RELEASE=focal # 20.04
ARCH=amd64
IMAGE_PATH=ubuntu-$RELEASE-$(date --iso-8601).img.qcow2
IMAGE_SIZE=10G