summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-04-23 13:51:07 +0200
committerMike Yuan <me@yhndnzj.com>2024-04-23 14:02:19 +0200
commit66ec03061ac8caa6b1427ef4d15e019914b985cc (patch)
tree3ea2327a15d60a9145b9eea1225b85e03e05a17e
parentcryptenroll: sort includes (diff)
downloadsystemd-66ec03061ac8caa6b1427ef4d15e019914b985cc.tar.xz
systemd-66ec03061ac8caa6b1427ef4d15e019914b985cc.zip
network: suggest using "networkctl edit" instead of copying manually
-rw-r--r--network/80-6rd-tunnel.link7
-rw-r--r--network/80-6rd-tunnel.network7
-rw-r--r--network/80-container-host0.network7
-rw-r--r--network/80-container-vb.link7
-rw-r--r--network/80-container-vb.network7
-rw-r--r--network/80-container-ve.link7
-rw-r--r--network/80-container-ve.network7
-rw-r--r--network/80-container-vz.link7
-rw-r--r--network/80-container-vz.network7
-rw-r--r--network/80-namespace-ns.link7
-rw-r--r--network/80-namespace-ns.network7
-rw-r--r--network/80-vm-vt.link7
-rw-r--r--network/80-vm-vt.network7
-rw-r--r--network/80-wifi-adhoc.network7
-rw-r--r--network/99-default.link7
15 files changed, 15 insertions, 90 deletions
diff --git a/network/80-6rd-tunnel.link b/network/80-6rd-tunnel.link
index 22fc3d6e28..a55754091d 100644
--- a/network/80-6rd-tunnel.link
+++ b/network/80-6rd-tunnel.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-6rd-tunnel.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .link file matches 6rd-* SIT devices and marks them as managed by
diff --git a/network/80-6rd-tunnel.network b/network/80-6rd-tunnel.network
index 96bf526f76..dd89e4de8e 100644
--- a/network/80-6rd-tunnel.network
+++ b/network/80-6rd-tunnel.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-6rd-tunnel.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .network file matches 6rd-* SIT devices which is automatically created by
diff --git a/network/80-container-host0.network b/network/80-container-host0.network
index b79e701cac..ecf642099d 100644
--- a/network/80-container-host0.network
+++ b/network/80-container-host0.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-host0.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This network file matches the container-side of the virtual Ethernet link
diff --git a/network/80-container-vb.link b/network/80-container-vb.link
index 2bcea13971..607ba02a1b 100644
--- a/network/80-container-vb.link
+++ b/network/80-container-vb.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-vb.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .link file matches the host-side of the virtual Ethernet link created
diff --git a/network/80-container-vb.network b/network/80-container-vb.network
index 6d5ea41795..07a407208b 100644
--- a/network/80-container-vb.network
+++ b/network/80-container-vb.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-vb.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .network file matches the host-side of the virtual Ethernet link created
diff --git a/network/80-container-ve.link b/network/80-container-ve.link
index 6dafac61ac..6ed818bd6c 100644
--- a/network/80-container-ve.link
+++ b/network/80-container-ve.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-ve.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .link file matches the host-side of the virtual Ethernet link
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
index 21a5eacc4e..4cb15ca957 100644
--- a/network/80-container-ve.network
+++ b/network/80-container-ve.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-ve.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .network file matches the host-side of the virtual Ethernet link
diff --git a/network/80-container-vz.link b/network/80-container-vz.link
index 303e82a022..45b76322f7 100644
--- a/network/80-container-vz.link
+++ b/network/80-container-vz.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-vz.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .link file matches the bridge interface created by systemd-nspawn's
diff --git a/network/80-container-vz.network b/network/80-container-vz.network
index 7d570b2b32..fd7cc1a4c9 100644
--- a/network/80-container-vz.network
+++ b/network/80-container-vz.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-vz.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This network file matches the bridge interface created by systemd-nspawn's
diff --git a/network/80-namespace-ns.link b/network/80-namespace-ns.link
index b640b98540..90b50cf922 100644
--- a/network/80-namespace-ns.link
+++ b/network/80-namespace-ns.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-container-ve.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This network file matches the host-side of the virtual Ethernet link
diff --git a/network/80-namespace-ns.network b/network/80-namespace-ns.network
index 8a84de9ea7..9c945d47c9 100644
--- a/network/80-namespace-ns.network
+++ b/network/80-namespace-ns.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-namespace-ns.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This network file matches the host-side of the virtual Ethernet link
diff --git a/network/80-vm-vt.link b/network/80-vm-vt.link
index e98e78eb1d..f9ba7a53f9 100644
--- a/network/80-vm-vt.link
+++ b/network/80-vm-vt.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-vm-vt.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This .link file matches vt-* TUN/TAP devices on the host and marks them as
diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network
index bb7942aa50..3bd36a6b10 100644
--- a/network/80-vm-vt.network
+++ b/network/80-vm-vt.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-vm-vt.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
# This network file matches vt-* TUN/TAP devices and applies a similar
diff --git a/network/80-wifi-adhoc.network b/network/80-wifi-adhoc.network
index fd3faca60c..804d8d9d58 100644
--- a/network/80-wifi-adhoc.network
+++ b/network/80-wifi-adhoc.network
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/80-wifi-adhoc.network.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network or one of the other paths checked
-# by systemd-networkd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
[Match]
diff --git a/network/99-default.link b/network/99-default.link
index 285c2e7710..083dca48c9 100644
--- a/network/99-default.link
+++ b/network/99-default.link
@@ -3,12 +3,7 @@
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
-# To make local modifications, one of the following methods may be used:
-# 1. add a drop-in file that extends this file by creating the
-# /etc/systemd/network/99-default.link.d/ directory and creating a
-# new .conf file there.
-# 2. copy this file into /etc/systemd/network or one of the other paths checked
-# by systemd-udevd and edit it there.
+# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.
[Match]