Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
9161903d
Commit
9161903d
authored
Jan 29, 2025
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net-eth: improvement systemd-networkd configs
Kind=!* - this means that the interface is not a child of any bridge, bond or tunnel.
parent
17285f04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
50-net-eth
features.in/net-eth/rootfs/image-scripts.d/50-net-eth
+6
-0
No files found.
features.in/net-eth/rootfs/image-scripts.d/50-net-eth
View file @
9161903d
...
...
@@ -65,6 +65,8 @@ write_systemd_iface() {
dhcp4
)
echo
"[Match]"
echo
"Name=
$iface
"
echo
"Kind=!*"
echo
"Type=ether"
echo
echo
"[Network]"
echo
"DHCP=ipv4"
...
...
@@ -80,6 +82,8 @@ write_systemd_iface() {
dhcp
)
echo
"[Match]"
echo
"Name=
$iface
"
echo
"Kind=!*"
echo
"Type=ether"
echo
echo
"[Network]"
echo
"DHCP=yes"
...
...
@@ -93,6 +97,8 @@ write_systemd_iface() {
static
)
echo
"[Match]"
echo
"Name=
$iface
"
echo
"Kind=!*"
echo
"Type=ether"
echo
echo
"[Network]"
echo
"Address=
$ipv4addr
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment