diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-10-17 20:39:40 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-10-17 20:39:40 +0300 |
commit | 395bb4335dd2046e3919a305d0b065ca6555907b (patch) | |
tree | 06323db99a5625520dc6367a39849c2c70424b43 | |
parent | 28813c1bb606713fa7aff1cd77c5a176b0fb862f (diff) | |
download | vmdb2-395bb4335dd2046e3919a305d0b065ca6555907b.tar.gz |
arm64-uefi.vmdb: update from Antonio Terceiro for debootrap fix
Sponsored-by: author
-rw-r--r-- | arm64-uefi.vmdb | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/arm64-uefi.vmdb b/arm64-uefi.vmdb index c6783ae..ac274a3 100644 --- a/arm64-uefi.vmdb +++ b/arm64-uefi.vmdb @@ -3,7 +3,7 @@ steps: - mkimg: "{{ output }}" - size: 4G + size: 1G - mklabel: gpt device: "{{ output }}" @@ -11,12 +11,12 @@ steps: - mkpart: primary device: "{{ output }}" start: 0% - end: 1G + end: 20M tag: efi - mkpart: primary device: "{{ output }}" - start: 1G + start: 20M end: 100% tag: / @@ -30,22 +30,35 @@ steps: - mount: / - - virtual-filesystems: / - - unpack-rootfs: / - - debootstrap: buster + - debootstrap: bullseye + variant: minbase arch: arm64 mirror: http://deb.debian.org/debian target: / unless: rootfs_unpacked + - chroot: / + shell: apt-get clean + - apt: install packages: + - wget + - iproute2 - linux-image-arm64 + - systemd-sysv fs-tag: / unless: rootfs_unpacked + - copy-file: /etc/systemd/network/eth0.network + src: eth0.network + unless: rootfs_unpacked + + - chroot: / + shell: systemctl enable systemd-networkd + unless: rootfs_unpacked + - cache-rootfs: / unless: rootfs_unpacked @@ -57,3 +70,6 @@ steps: - grub: uefi tag: / efi: efi + console: serial + +# vim: ft=yaml |