From: Daan De Meyer Date: Wed, 9 Dec 2020 21:51:56 +0000 (+0000) Subject: Enable more mkosi options X-Git-Tag: v248-rc1~439 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=commitdiff_plain;h=9a01c6f095aa453984badbf59662ac4f14d19a9f 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. --- diff --git a/.mkosi/mkosi.arch b/.mkosi/mkosi.arch index 8b9b7c72e75..07893e11eb7 100644 --- a/.mkosi/mkosi.arch +++ b/.mkosi/mkosi.arch @@ -63,3 +63,8 @@ Packages= [Host] QemuHeadless=yes +NetworkVeth=yes + +[Validation] +Password= +Autologin=yes diff --git a/.mkosi/mkosi.debian b/.mkosi/mkosi.debian index 7da81298a21..340a11633b3 100644 --- a/.mkosi/mkosi.debian +++ b/.mkosi/mkosi.debian @@ -79,3 +79,8 @@ Packages= [Host] QemuHeadless=yes +NetworkVeth=yes + +[Validation] +Password= +Autologin=yes diff --git a/.mkosi/mkosi.fedora b/.mkosi/mkosi.fedora index f383e11c657..168632bd038 100644 --- a/.mkosi/mkosi.fedora +++ b/.mkosi/mkosi.fedora @@ -89,3 +89,8 @@ Cache=mkosi.cache [Host] QemuHeadless=yes +NetworkVeth=yes + +[Validation] +Password= +Autologin=yes diff --git a/.mkosi/mkosi.opensuse b/.mkosi/mkosi.opensuse index 5d75eecddcd..19e56f0e47a 100644 --- a/.mkosi/mkosi.opensuse +++ b/.mkosi/mkosi.opensuse @@ -83,3 +83,8 @@ Packages= [Host] QemuHeadless=yes +NetworkVeth=yes + +[Validation] +Password= +Autologin=yes diff --git a/.mkosi/mkosi.ubuntu b/.mkosi/mkosi.ubuntu index 09afafb9dbd..5af1a65555e 100644 --- a/.mkosi/mkosi.ubuntu +++ b/.mkosi/mkosi.ubuntu @@ -82,3 +82,8 @@ Packages= [Host] QemuHeadless=yes +NetworkVeth=yes + +[Validation] +Password= +Autologin=yes