Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -eux
[ "$(id -u)" = "0" ]
if [ -d "/snap/subiquity" ] ; then
SNAPNAME=subiquity
INTERMEDIATE=lib/python3.8/site-packages
elif [ -d "/snap/ubuntu-desktop-installer" ] ; then
@dbungert
dbungert / gist:310423f8af9dcaccfe48bc4dc9522f6e
Last active April 19, 2023 12:38
draft 23.04.1 release notes

What's changed in Subiquity 23.04.2

The primary theme for this release was productization fixes in support of Ubuntu Desktop Installer. This includes many partitioning enhancements, fixes to enable autoinstall for Ubuntu Desktop Installer, and improvements in handling of NetworkManager.

Another item is improvements in handling of Apt. Many Subiquity failure reports have the Subiquity-Apt interaction as the cause. We now more proactively check that the chosen mirror looks valid, offer autoinstall controls to allow the install to continue if the mirror cannot be contacted, and more. On similar note, a failure to complete unattended-upgrades is no longer fatal to the install.

On the subject of offline installs, there is a new fallback key to control the desired behavior when the Ubuntu archive mirror is unavailable during install time. The default policy is abort, which ends the install if the archive mirror is unaccessible. In some situations, it is acceptable to proceed with an offline install w

@dbungert
dbungert / gist:2ec7caf913f4efa5925acef8c10b93d6
Last active February 2, 2023 18:32
bootleg build-mini-iso
#!/bin/bash
# this is a bootleg build script that simulates the changes I eventually want
# to incorporate into livecd-rootfs
set -eux
series=lunar
host=$series-mini-iso
---
identity:
hostname: edge-test
password: $6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0
username: ubuntu
locale: en_US.UTF-8
ssh:
allow-pw: true
install-server: true
version: 1
# ~/.kvm-test.yaml
default_mem: '8G'
iso:
basedir: /srv/iso
release:
kinetic: kinetic/kinetic-live-server-amd64.iso
default: kinetic
#!/usr/bin/python3
import socket
import time
# expanded version of ipv4/ipv6 probe
# on most networks
# address 8.8.8.8 OK
# sock_type DGRAM
@dbungert
dbungert / gist:bd40eebdc225c9ddcaa3b882be059905
Created February 4, 2022 23:39
opensurgsim-vs-libeigen.log
Script started on 2022-02-03 12:46:50-07:00 [TERM="screen-256color" TTY="/dev/pts/1" COLUMNS="130" LINES="43"]
[ 5%] Built target yaml-cpp
[ 9%] Built target SurgSimFramework
[ 11%] Built target SurgSimDataStructures
[ 16%] Built target SurgSimMath
[ 18%] Built target SurgSimParticles
[ 23%] Built target SurgSimCollision
[ 24%] Built target SurgSimInput
[ 36%] Built target SurgSimPhysics
[ 40%] Built target SurgSimBlocks
#!/bin/bash
set -eux
[ "$(id -u)" = "0" ]
netns=fwd-test
cleanup() {
set +e
@dbungert
dbungert / relnotes.md
Last active October 15, 2021 21:53
impish release notes

Known Issues -> General

  • snap pack may fail with the following error: cannot pack "new": mksquashfs call failed. A fix for this issue can be found in snapd 2.52.1 - to pick that up, please run: snap refresh --candidate snapd

Known Issues -> Ubuntu Desktop

  • A hang of the Ubuntu Desktop installer, Ubiquity, [has been