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.
This commit is contained in:
Daan De Meyer 2020-12-09 21:51:56 +00:00 committed by Luca Boccassi
parent a869f5aaa4
commit 9a01c6f095
5 changed files with 25 additions and 0 deletions

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