Compare commits

...

2 Commits

Author SHA1 Message Date
Daan De Meyer 9a01c6f095 Enable more mkosi options
- HostonlyInitrd reduces the size of the initramfs which speeds up
QEMU boot times.
- Autologin and deleting the root password remove
the manual login step whenever starting the systemd-nspawn container
or QEMU vm.
- NetworkVeth passes --network-veth to the nspawn container when
using mkosi boot and emulates --network-veth with a tap device
and networkd's 80-vm-vt.network builtin network file when using
mkosi qemu. --network-veth makes it easier to test network and
resolved in mkosi's nspawn container or QEMU vm.
2021-01-01 16:46:09 +00:00
Daan De Meyer a869f5aaa4 CI: Update to mkosi github action to v9 2021-01-01 15:30:09 +00:00
6 changed files with 27 additions and 5 deletions

View File

@ -24,13 +24,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: systemd/mkosi@v8
- uses: systemd/mkosi@v9
- name: Install
run: sudo apt-get update && sudo apt-get install --no-install-recommends
ovmf
python3-pexpect
qemu-system-x86-64
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect
- name: Build ${{ matrix.distro }}
run: sudo python3 -m mkosi --default .mkosi/mkosi.${{ matrix.distro }} --password= --qemu-headless build

View File

@ -63,3 +63,8 @@ Packages=
[Host]
QemuHeadless=yes
NetworkVeth=yes
[Validation]
Password=
Autologin=yes

View File

@ -79,3 +79,8 @@ Packages=
[Host]
QemuHeadless=yes
NetworkVeth=yes
[Validation]
Password=
Autologin=yes

View File

@ -89,3 +89,8 @@ Cache=mkosi.cache
[Host]
QemuHeadless=yes
NetworkVeth=yes
[Validation]
Password=
Autologin=yes

View File

@ -83,3 +83,8 @@ Packages=
[Host]
QemuHeadless=yes
NetworkVeth=yes
[Validation]
Password=
Autologin=yes

View File

@ -82,3 +82,8 @@ Packages=
[Host]
QemuHeadless=yes
NetworkVeth=yes
[Validation]
Password=
Autologin=yes