Skip to content

Comments

Add a Match section for systemd to not ignore#23

Merged
sayanchowdhury merged 1 commit intoflatcar-masterfrom
sayan/upgrade-systemd-to-v245
Jul 21, 2020
Merged

Add a Match section for systemd to not ignore#23
sayanchowdhury merged 1 commit intoflatcar-masterfrom
sayan/upgrade-systemd-to-v245

Conversation

@sayanchowdhury
Copy link
Member

@sayanchowdhury sayanchowdhury commented Jul 20, 2020

Add a Match section for systemd to not ignore

systemd 245 ignores .link and .network files if the Match section is empty. More details in the NEWS entry.

This should be merged with flatcar-archive/coreos-overlay#448

Signed-off-by: Sayan Chowdhury sayan.chowdhury2012@gmail.com

How to use

emerge-amd54-usr coreos-base/coreos-init

Testing done

Without these options, the SSH to the machine was broken, and no packets were received by the machine. This fixes the issue.

@sayanchowdhury sayanchowdhury marked this pull request as ready for review July 20, 2020 07:51
Copy link
Member

@pothos pothos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Same as in flatcar/bootengine#16 I would also expect Name=* to be set in systemd/network/yy-pxe.network

systemd ignores .link and .network files if the Match  section is empty

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
@sayanchowdhury sayanchowdhury force-pushed the sayan/upgrade-systemd-to-v245 branch from 093b8ad to 5407e01 Compare July 20, 2020 11:55
@sayanchowdhury sayanchowdhury requested review from a team and pothos July 20, 2020 11:57
@sayanchowdhury sayanchowdhury merged commit 96c5f10 into flatcar-master Jul 21, 2020
@sayanchowdhury sayanchowdhury deleted the sayan/upgrade-systemd-to-v245 branch July 21, 2020 09:34
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Sep 14, 2020
This pulls in the new sub key for flatcar-install
flatcar/init#25
and a networkd unit to exclude Weave interfaces from DHCP
flatcar/init#22
and an update to two other networkd units which lacked a match section
that is mandatory in future systemd versions
flatcar/init#23
jepio pushed a commit that referenced this pull request Feb 21, 2022
ignition-generator: make the hostname units optional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants