From: Jan Kiszka <jan.kiszka@siemens.com>
To: Florian Bezdeka <florian.bezdeka@siemens.com>, xenomai@lists.linux.dev
Subject: Re: [xenomai-images][PATCH] customizations: Enable systemd-networkd on installation
Date: Thu, 4 Jan 2024 06:55:07 +0100 [thread overview]
Message-ID: <6c6ae6d1-01b2-4659-9c31-0232c01e0d4e@siemens.com> (raw)
In-Reply-To: <20240103182839.2512889-1-florian.bezdeka@siemens.com>
On 03.01.24 19:28, Florian Bezdeka wrote:
> The network configuration for systemd-networkd was inplace but the
> service itself was never enabled so the (default) interface stayed
> unconfigured after booting up.
>
> This is a left-over from the Debian 11 => 12 transition. The service was
> previously enabled by default.
>
> CI does not detect that as the ip=dhcp kernel cmdline argument is being
> used and triggers a kernel based network configuration.
>
> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
> ---
> recipes-core/customizations/files/postinst | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-core/customizations/files/postinst b/recipes-core/customizations/files/postinst
> index d8d141c..c7c688f 100644
> --- a/recipes-core/customizations/files/postinst
> +++ b/recipes-core/customizations/files/postinst
> @@ -2,7 +2,7 @@
> #
> # Jailhouse, a Linux-based partitioning hypervisor
> #
> -# Copyright (c) Siemens AG, 2018
> +# Copyright (c) Siemens AG, 2018-2024
> #
> # Authors:
> # Jan Kiszka <jan.kiszka@siemens.com>
> @@ -16,4 +16,5 @@ echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
>
> echo "demo" > /etc/hostname
>
> +/usr/bin/systemctl enable systemd-networkd
> /usr/bin/systemctl mask systemd-network-generator
Indeed! Thanks, applied.
Jan
--
Siemens AG, Technology
Linux Expert Center
prev parent reply other threads:[~2024-01-04 5:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 18:28 [xenomai-images][PATCH] customizations: Enable systemd-networkd on installation Florian Bezdeka
2024-01-04 5:55 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c6ae6d1-01b2-4659-9c31-0232c01e0d4e@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=florian.bezdeka@siemens.com \
--cc=xenomai@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).