From 6dc3190f0ac070b10ddd18a5137f92a4f12b757d Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Sat, 13 Sep 2025 01:46:16 +0200 Subject: copy baseline to smalldeploy --- configs/smalldeploy/airootfs/etc/locale.conf | 1 + configs/smalldeploy/airootfs/etc/localtime | 1 + .../smalldeploy/airootfs/etc/mkinitcpio.conf.d/archiso.conf | 1 + configs/smalldeploy/airootfs/etc/mkinitcpio.d/linux.preset | 8 ++++++++ configs/smalldeploy/airootfs/etc/shadow | 1 + .../airootfs/etc/ssh/sshd_config.d/10-archiso.conf | 3 +++ .../airootfs/etc/systemd/network/20-ethernet.network | 13 +++++++++++++ .../systemd/networkd.conf.d/ipv6-privacy-extensions.conf | 2 ++ .../airootfs/etc/systemd/resolved.conf.d/archiso.conf | 4 ++++ .../systemd/system-generators/systemd-gpt-auto-generator | 1 + .../system/cloud-init.target.wants/cloud-config.service | 1 + .../system/cloud-init.target.wants/cloud-final.service | 1 + .../system/cloud-init.target.wants/cloud-init-local.service | 1 + .../system/cloud-init.target.wants/cloud-init-main.service | 1 + .../cloud-init.target.wants/cloud-init-network.service | 1 + .../system/multi-user.target.wants/hv_fcopy_daemon.service | 1 + .../system/multi-user.target.wants/hv_kvp_daemon.service | 1 + .../system/multi-user.target.wants/hv_vss_daemon.service | 1 + .../etc/systemd/system/multi-user.target.wants/sshd.service | 1 + .../system/multi-user.target.wants/systemd-networkd.service | 1 + .../system/multi-user.target.wants/systemd-resolved.service | 1 + .../system/multi-user.target.wants/vboxservice.service | 1 + .../systemd/system/multi-user.target.wants/vmtoolsd.service | 1 + .../multi-user.target.wants/vmware-vmblock-fuse.service | 1 + .../systemd-networkd-wait-online.service | 1 + .../system/sockets.target.wants/systemd-networkd.socket | 1 + .../wait-for-only-one-interface.conf | 6 ++++++ 27 files changed, 57 insertions(+) create mode 100644 configs/smalldeploy/airootfs/etc/locale.conf create mode 120000 configs/smalldeploy/airootfs/etc/localtime create mode 100644 configs/smalldeploy/airootfs/etc/mkinitcpio.conf.d/archiso.conf create mode 100644 configs/smalldeploy/airootfs/etc/mkinitcpio.d/linux.preset create mode 100644 configs/smalldeploy/airootfs/etc/shadow create mode 100644 configs/smalldeploy/airootfs/etc/ssh/sshd_config.d/10-archiso.conf create mode 100644 configs/smalldeploy/airootfs/etc/systemd/network/20-ethernet.network create mode 100644 configs/smalldeploy/airootfs/etc/systemd/networkd.conf.d/ipv6-privacy-extensions.conf create mode 100644 configs/smalldeploy/airootfs/etc/systemd/resolved.conf.d/archiso.conf create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket create mode 100644 configs/smalldeploy/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf (limited to 'configs/smalldeploy/airootfs/etc') diff --git a/configs/smalldeploy/airootfs/etc/locale.conf b/configs/smalldeploy/airootfs/etc/locale.conf new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/locale.conf @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/configs/smalldeploy/airootfs/etc/localtime b/configs/smalldeploy/airootfs/etc/localtime new file mode 120000 index 0000000..0e35b57 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/localtime @@ -0,0 +1 @@ +/usr/share/zoneinfo/UTC \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/mkinitcpio.conf.d/archiso.conf b/configs/smalldeploy/airootfs/etc/mkinitcpio.conf.d/archiso.conf new file mode 100644 index 0000000..fd9cd48 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/mkinitcpio.conf.d/archiso.conf @@ -0,0 +1 @@ +HOOKS=(base udev modconf archiso block filesystems) diff --git a/configs/smalldeploy/airootfs/etc/mkinitcpio.d/linux.preset b/configs/smalldeploy/airootfs/etc/mkinitcpio.d/linux.preset new file mode 100644 index 0000000..8e85205 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/mkinitcpio.d/linux.preset @@ -0,0 +1,8 @@ +# mkinitcpio preset file for the 'linux' package on archiso + +PRESETS=('archiso') + +ALL_kver='/boot/vmlinuz-linux' +archiso_config='/etc/mkinitcpio.conf.d/archiso.conf' + +archiso_image="/boot/initramfs-linux.img" diff --git a/configs/smalldeploy/airootfs/etc/shadow b/configs/smalldeploy/airootfs/etc/shadow new file mode 100644 index 0000000..7edfd69 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/shadow @@ -0,0 +1 @@ +root::14871:::::: diff --git a/configs/smalldeploy/airootfs/etc/ssh/sshd_config.d/10-archiso.conf b/configs/smalldeploy/airootfs/etc/ssh/sshd_config.d/10-archiso.conf new file mode 100644 index 0000000..6ea7b41 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/ssh/sshd_config.d/10-archiso.conf @@ -0,0 +1,3 @@ +# Allow root login using password authentication +PasswordAuthentication yes +PermitRootLogin yes diff --git a/configs/smalldeploy/airootfs/etc/systemd/network/20-ethernet.network b/configs/smalldeploy/airootfs/etc/systemd/network/20-ethernet.network new file mode 100644 index 0000000..0e4287b --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/network/20-ethernet.network @@ -0,0 +1,13 @@ +[Match] +# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*). +# See https://bugs.archlinux.org/task/70892 +# Instead match by globbing the network interface name. +Name=en* +Name=eth* + +[Link] +RequiredForOnline=routable + +[Network] +DHCP=yes +MulticastDNS=yes diff --git a/configs/smalldeploy/airootfs/etc/systemd/networkd.conf.d/ipv6-privacy-extensions.conf b/configs/smalldeploy/airootfs/etc/systemd/networkd.conf.d/ipv6-privacy-extensions.conf new file mode 100644 index 0000000..0e9ceb4 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/networkd.conf.d/ipv6-privacy-extensions.conf @@ -0,0 +1,2 @@ +[Network] +IPv6PrivacyExtensions=yes diff --git a/configs/smalldeploy/airootfs/etc/systemd/resolved.conf.d/archiso.conf b/configs/smalldeploy/airootfs/etc/systemd/resolved.conf.d/archiso.conf new file mode 100644 index 0000000..636f3bd --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/resolved.conf.d/archiso.conf @@ -0,0 +1,4 @@ +# Default systemd-resolved configuration for archiso + +[Resolve] +MulticastDNS=yes diff --git a/configs/smalldeploy/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator b/configs/smalldeploy/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system-generators/systemd-gpt-auto-generator @@ -0,0 +1 @@ +/dev/null \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service new file mode 120000 index 0000000..ebc50f0 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-config.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service new file mode 120000 index 0000000..80fa3c8 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-final.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service new file mode 120000 index 0000000..dd8e9f1 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-init-local.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service new file mode 120000 index 0000000..875ff73 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-init-main.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service new file mode 120000 index 0000000..ae77734 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cloud-init-network.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service new file mode 120000 index 0000000..20ac7b2 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service new file mode 120000 index 0000000..a7eac4a --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service new file mode 120000 index 0000000..eae19ef --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service new file mode 120000 index 0000000..d21ebd9 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/sshd.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service new file mode 120000 index 0000000..4c158e6 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service new file mode 120000 index 0000000..4f6ae34 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service new file mode 120000 index 0000000..cb2d560 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vboxservice.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service new file mode 120000 index 0000000..e0a11a7 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmtoolsd.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service new file mode 120000 index 0000000..173f306 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/vmware-vmblock-fuse.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/configs/smalldeploy/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service new file mode 120000 index 0000000..7d6ad92 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd-wait-online.service \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/configs/smalldeploy/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket new file mode 120000 index 0000000..51942c8 --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.socket \ No newline at end of file diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/configs/smalldeploy/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf new file mode 100644 index 0000000..c9f9bce --- /dev/null +++ b/configs/smalldeploy/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf @@ -0,0 +1,6 @@ +# Allow systemd-networkd-wait-online to succeed with one interface, otherwise, if multiple network interfaces exist, +# network-online.target gets needlessly delayed. +# See https://wiki.archlinux.org/title/systemd-networkd#systemd-networkd-wait-online +[Service] +ExecStart= +ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any -- cgit v1.2.3-70-g09d2