[EVO] Générer des images
This commit is contained in:
parent
864a234a54
commit
aeb0633a21
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
|||||||
/backup/host
|
/backup/host
|
||||||
/backup/doNotBackup.list
|
/backup/doNotBackup.list
|
||||||
/balance-containers/containers.csv
|
/balance-containers/containers.csv
|
||||||
|
/distrobuilder/lxd.tar.xz
|
||||||
|
/distrobuilder/rootfs.squashfs
|
||||||
|
65
distrobuilder/debian-sid.yml
Normal file
65
distrobuilder/debian-sid.yml
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
debian-sid.yaml
|
||||||
|
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:
|
||||||
|
- locales
|
||||||
|
- sudo
|
||||||
|
- action: remove
|
||||||
|
packages:
|
||||||
|
- nano
|
||||||
|
|
||||||
|
actions:
|
||||||
|
- trigger: post-packages
|
||||||
|
action: |-
|
||||||
|
#!/bin/sh
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
# Make sure the locale is built and functional
|
||||||
|
locale-gen en_US.UTF-8
|
||||||
|
|
||||||
|
# Cleanup underlying /run
|
||||||
|
mount -o bind / /mnt
|
||||||
|
rm -rf /mnt/run/*
|
||||||
|
umount /mnt
|
||||||
|
|
||||||
|
# Cleanup temporary shadow paths
|
||||||
|
rm /etc/*-
|
||||||
|
|
||||||
|
mappings:
|
||||||
|
architecture_map: debian
|
Loading…
Reference in New Issue
Block a user