mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
4e0db87e4c
This patch enables IFNAME_VALID_ALTERNATIVE for checks guarding the parsing of RestrictNetworkInterfaces=. The underlying implementation for this option already supports altnames.
11 lines
411 B
Desktop File
11 lines
411 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=TEST-62-RESTRICT-IFACES-altname
|
|
[Service]
|
|
ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.1'
|
|
ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.5'
|
|
ExecStart=/bin/sh -c '! ping -c 1 -W 0.2 192.168.113.9'
|
|
RestrictNetworkInterfaces=veth0-altname-with-more-than-15-chars
|
|
RestrictNetworkInterfaces=veth1-altname-with-more-than-15-chars
|
|
Type=oneshot
|