<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Networking &amp; Remote Access on Flatcar Container Linux</title>
		<link>/docs/latest/os-config/network/</link>
		<description>Recent content in Networking &amp; Remote Access on Flatcar Container Linux</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>Copyright © The Flatcar Project Contributors.

Copyright © Flatcar a Series of LF Projects, LLC.

For website terms of use, trademark policy and other project policies please see &lt;a href=&#34;https://lfprojects.org/policies/&#34;&gt;lfprojects.org/policies&lt;/a&gt;.
</copyright>
		
		
			<atom:link href="/docs/latest/os-config/network/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>DNS Configuration</title>
				<link>/docs/latest/os-config/network/configuring-dns/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/os-config/network/configuring-dns/</guid>
				<description>&lt;p&gt;By default, DNS resolution on Flatcar Container Linux is handled through &lt;code&gt;/etc/resolv.conf&lt;/code&gt;, which is a symlink to &lt;code&gt;/run/systemd/resolve/resolv.conf&lt;/code&gt;. This file is managed by &#xA;&#xA;&#xA;&lt;a href=&#34;http://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;systemd-resolved&lt;/a&gt;&#xA;. Normally, &lt;code&gt;systemd-resolved&lt;/code&gt; gets DNS IP addresses from &#xA;&#xA;&#xA;&lt;a href=&#34;http://www.freedesktop.org/software/systemd/man/systemd-networkd.service.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;systemd-networkd&lt;/a&gt;&#xA;, either via DHCP or static configuration. DNS IP addresses can also be set via &lt;code&gt;systemd-resolved&lt;/code&gt;&amp;rsquo;s &#xA;&#xA;&#xA;&lt;a href=&#34;http://www.freedesktop.org/software/systemd/man/resolved.conf.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;resolved.conf&lt;/a&gt;&#xA;. See &#xA;&#xA;&#xA;&lt;a href=&#34;/docs/latest/os-config/network/network-config-with-networkd/&#34;&gt;Network configuration with networkd&lt;/a&gt;&#xA; for more information on &lt;code&gt;systemd-networkd&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;using-a-local-dns-cache&#34;&gt;Using a local DNS cache&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;systemd-resolved&lt;/code&gt; includes a caching DNS resolver. To use it for DNS resolution and caching, you must enable it via &#xA;&#xA;&#xA;&lt;a href=&#34;http://man7.org/linux/man-pages/man5/nsswitch.conf.5.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;nsswitch.conf&lt;/a&gt;&#xA; by adding &lt;code&gt;resolve&lt;/code&gt; to the &lt;code&gt;hosts&lt;/code&gt; section.&lt;/p&gt;</description>
			</item>
			<item>
				<title>OverlayBD Artifact Streaming</title>
				<link>/docs/latest/os-config/network/overlaybd-artifact-streaming/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/os-config/network/overlaybd-artifact-streaming/</guid>
				<description>&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;&#xA;&lt;p&gt;Flatcar Container Linux offers support for the installation and customization of containerd&amp;rsquo;s &#xA;&#xA;&#xA;&lt;a href=&#34;https://containerd.github.io/overlaybd/#/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;accelerated container image&lt;/a&gt;&#xA; artifact streaming.&#xA;Both &#xA;&#xA;&#xA;&lt;a href=&#34;https://github.com/containerd/accelerated-container-image&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;&lt;code&gt;accelerated-container-image&lt;/code&gt;&lt;/a&gt;&#xA; and the &#xA;&#xA;&#xA;&lt;a href=&#34;https://github.com/containerd/overlaybd/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;&lt;code&gt;overlaybd&lt;/code&gt;&lt;/a&gt;&#xA; back-end are combined in an optional, &#xA;&#xA;&#xA;&lt;a href=&#34;https://www.flatcar.org/docs/latest/provisioning/sysext/#flatcar-release-extensions-official&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;system dependent sysext&lt;/a&gt;&#xA;.&lt;/p&gt;&#xA;&lt;p&gt;The sysext can be provisioned simply by adding the line &lt;code&gt;overlaybd&lt;/code&gt; to &lt;code&gt;/etc/flatcar/enabled-sysext.conf&lt;/code&gt;.&#xA;Since these sysexts are system dependent (compiled against the system&amp;rsquo;s C library), they will be updated automatically in lockstep with the operating system.&lt;/p&gt;&#xA;&lt;p&gt;Example Butane configuration:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#008000&#34;&gt;# config.yaml&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#008000&#34;&gt;# butane &amp;lt; config.yaml &amp;gt; config.json&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;variant: flatcar&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;version: 1.0.0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;storage:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  files:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  - path: /etc/flatcar/enabled-sysext.conf&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    contents:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      inline: |&lt;span style=&#34;color:#a31515&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a31515&#34;&gt;        overlaybd&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;usage&#34;&gt;Usage&lt;/h3&gt;&#xA;&lt;p&gt;The below usage largely follows upstream&amp;rsquo;s &#xA;&#xA;&#xA;&lt;a href=&#34;https://github.com/containerd/accelerated-container-image/blob/main/docs/QUICKSTART.md&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Getting started guide&lt;/a&gt;&#xA;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Network configuration with networkd</title>
				<link>/docs/latest/os-config/network/network-config-with-networkd/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/os-config/network/network-config-with-networkd/</guid>
				<description>&lt;p&gt;Flatcar Container Linux machines are preconfigured with &#xA;&#xA;&#xA;&lt;a href=&#34;/docs/latest/deploy/virt-options/notes-for-distributors/&#34;&gt;networking customized&lt;/a&gt;&#xA; for each platform. You can write your own networkd units to replace or override the units created for each platform. This article covers a subset of networkd functionality. You can view the &#xA;&#xA;&#xA;&lt;a href=&#34;http://www.freedesktop.org/software/systemd/man/systemd-networkd.service.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;full docs here&lt;/a&gt;&#xA;.&lt;/p&gt;&#xA;&lt;p&gt;Drop a networkd unit in &lt;code&gt;/etc/systemd/network/&lt;/code&gt; or inject a unit on boot via a Butane Config. Files placed manually on the filesystem will need to reload networkd afterwards with &lt;code&gt;sudo systemctl restart systemd-networkd&lt;/code&gt;. Network units injected via a Butane Config will be written to the system before networkd is started, so there are no work-arounds needed.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Handle ACPI events</title>
				<link>/docs/latest/os-config/network/acpi/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/os-config/network/acpi/</guid>
				<description>&lt;h2 id=&#34;acpid&#34;&gt;acpid&lt;/h2&gt;&#xA;&lt;p&gt;Beginning with Flatcar major release 3255 &lt;code&gt;acpid&lt;/code&gt; can be enabled at boot with Ignition.&lt;/p&gt;&#xA;&lt;p&gt;This can be configured with a &#xA;&#xA;&#xA;&lt;a href=&#34;/docs/latest/fb-provision/ignition/specification/#ignition-v3&#34;&gt;butane&lt;/a&gt;&#xA; definition:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;variant: flatcar&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;version: 1.0.0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;systemd:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  units:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    - name: acpid.service&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      enabled: &lt;span style=&#34;color:#00f&#34;&gt;true&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;storage:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  files:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    - path: /etc/acpi/events/default&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      contents:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        inline: |&lt;span style=&#34;color:#a31515&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a31515&#34;&gt;          event=.*&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a31515&#34;&gt;          action=/etc/acpi/default.sh %e&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    - path: /etc/acpi/default.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      contents:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        inline: |&lt;span style=&#34;color:#a31515&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a31515&#34;&gt;          set $*&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a31515&#34;&gt;          logger &amp;#34;ACPI event handled: $*&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      mode: 0744&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This simple configuration will only log the handled ACPI events, example with QEMU:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
