]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Enable more mkosi options
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 9 Dec 2020 21:51:56 +0000 (21:51 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 1 Jan 2021 16:46:09 +0000 (16:46 +0000)
- 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.

.mkosi/mkosi.arch
.mkosi/mkosi.debian
.mkosi/mkosi.fedora
.mkosi/mkosi.opensuse
.mkosi/mkosi.ubuntu

index 8b9b7c72e75cacad21fdfb68161eb1c632e2e995..07893e11eb7ca3d471fd4818f04c497dc4411c3f 100644 (file)
@@ -63,3 +63,8 @@ Packages=
 
 [Host]
 QemuHeadless=yes
+NetworkVeth=yes
+
+[Validation]
+Password=
+Autologin=yes
index 7da81298a2143c431e43ff3c79efbb83109550fc..340a11633b3de915af4fb3ffce682e9c46565319 100644 (file)
@@ -79,3 +79,8 @@ Packages=
 
 [Host]
 QemuHeadless=yes
+NetworkVeth=yes
+
+[Validation]
+Password=
+Autologin=yes
index f383e11c6574476505e723a02bdb8bb79abe9683..168632bd03809a7dd5ce25b3a0c3da788e7d3449 100644 (file)
@@ -89,3 +89,8 @@ Cache=mkosi.cache
 
 [Host]
 QemuHeadless=yes
+NetworkVeth=yes
+
+[Validation]
+Password=
+Autologin=yes
index 5d75eecddcd7834cded601982fb4748afc6d7a03..19e56f0e47a78635fd5bb9cd2d4e19beccef6846 100644 (file)
@@ -83,3 +83,8 @@ Packages=
 
 [Host]
 QemuHeadless=yes
+NetworkVeth=yes
+
+[Validation]
+Password=
+Autologin=yes
index 09afafb9dbdfcff5e57d3c546820d0d249140886..5af1a65555ea42a3fb34d6df5a480905c85bf3bc 100644 (file)
@@ -82,3 +82,8 @@ Packages=
 
 [Host]
 QemuHeadless=yes
+NetworkVeth=yes
+
+[Validation]
+Password=
+Autologin=yes