Move to Debian 13
This commit is contained in:
parent
6d16e2e4ae
commit
951282291b
2 changed files with 72 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
: "${VMID:=9023}"
|
||||
: "${STORAGE:=local-zfs}"
|
||||
: "${OS:=debian-12}"
|
||||
: "${OS:=debian-13}"
|
||||
: "${NAME:=chaos-${OS}-tmpl-$(date -u +%Y-%m-%d)}"
|
||||
: "${BRIDGE:=vmbr0,tag=208}"
|
||||
: "${AUTHORIZED_KEYS_URL:=https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys/raw/branch/trunk/authorized_keys}"
|
||||
|
|
@ -29,12 +29,12 @@ cleanup() {
|
|||
|
||||
|
||||
wget -4 "$AUTHORIZED_KEYS_URL" -O authorized_keys
|
||||
wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.tar.xz -O debian-12-generic-amd64.tar.xz
|
||||
wget https://cloud.debian.org/images/cloud/bookworm/latest/SHA512SUMS -O SHA512SUMS
|
||||
wget https://cloud.debian.org/images/cloud/trixie/latest/debian-13-generic-amd64.tar.xz -O debian-13-generic-amd64.tar.xz
|
||||
wget https://cloud.debian.org/images/cloud/trixie/latest/SHA512SUMS -O SHA512SUMS
|
||||
sha512sum --ignore-missing -c SHA512SUMS
|
||||
rm SHA512SUMS
|
||||
tar -xf debian-12-generic-amd64.tar.xz
|
||||
rm debian-12-generic-amd64.tar.xz
|
||||
tar -xf debian-13-generic-amd64.tar.xz
|
||||
rm debian-13-generic-amd64.tar.xz
|
||||
|
||||
virt-customize -a disk.raw \
|
||||
--update \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue