2023-09-20 15:07:37 +00:00
|
|
|
image:
|
|
|
|
description: |-
|
|
|
|
Nearly stock Debian Sid image (build2338)
|
|
|
|
distribution: debian
|
|
|
|
release: sid
|
|
|
|
architecture: arm64
|
|
|
|
|
|
|
|
source:
|
|
|
|
downloader: debootstrap
|
|
|
|
same_as: sid
|
|
|
|
url: http://deb.debian.org/debian/
|
|
|
|
skip_verification: false
|
|
|
|
|
|
|
|
files:
|
|
|
|
- path: /etc/hostname
|
|
|
|
generator: hostname
|
|
|
|
- path: /etc/hosts
|
|
|
|
generator: hosts
|
|
|
|
- path: /etc/machine-id
|
|
|
|
generator: dump
|
|
|
|
- path: /var/lib/dbus/machine-id
|
|
|
|
generator: remove
|
|
|
|
- path: /etc/network/interfaces
|
|
|
|
generator: dump
|
|
|
|
content: |-
|
|
|
|
auto lo
|
|
|
|
iface lo inet loopback
|
|
|
|
|
|
|
|
auto eth0
|
|
|
|
allow-hotplug eth0
|
|
|
|
iface eth0 inet dhcp
|
|
|
|
|
|
|
|
packages:
|
|
|
|
manager: apt
|
|
|
|
update: true
|
|
|
|
cleanup: true
|
|
|
|
sets:
|
|
|
|
- action: install
|
|
|
|
packages:
|
2023-09-22 09:22:28 +00:00
|
|
|
- dbus
|
2023-09-20 15:07:37 +00:00
|
|
|
- locales
|
|
|
|
- sudo
|
|
|
|
- action: remove
|
|
|
|
packages:
|
|
|
|
- nano
|
|
|
|
|
|
|
|
actions:
|
|
|
|
- trigger: post-packages
|
|
|
|
action: |-
|
|
|
|
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
# Make sure the locale is built and functional
|
2023-09-20 16:07:52 +00:00
|
|
|
echo "en_US.UTF-8 UTF-8" | tee --append /etc/locale.gen
|
2023-09-20 15:55:43 +00:00
|
|
|
dpkg-reconfigure --frontend=noninteractive locales
|
2023-09-20 16:07:52 +00:00
|
|
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
2023-09-20 15:07:37 +00:00
|
|
|
|
2023-09-22 09:22:28 +00:00
|
|
|
# Install resolvconf
|
|
|
|
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections
|
|
|
|
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf
|
|
|
|
apt-get -y install resolvconf
|
|
|
|
echo resolvconf resolvconf/linkify-resolvconf boolean true | debconf-set-selections
|
|
|
|
rm /etc/default/resolvconf
|
|
|
|
|
2023-09-20 15:07:37 +00:00
|
|
|
# Cleanup underlying /run
|
|
|
|
mount -o bind / /mnt
|
|
|
|
rm -rf /mnt/run/*
|
|
|
|
umount /mnt
|
|
|
|
|
|
|
|
# Cleanup temporary shadow paths
|
|
|
|
rm /etc/*-
|
|
|
|
|
|
|
|
mappings:
|
|
|
|
architecture_map: debian
|