5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2024-12-22 21:33:47 +03:00
pve-common/test/etc_network_interfaces
Thomas Lamprecht 0dc7fd7b50 inotify: network: improve "allow-hotplug" & "auto" interaction
commit c86cfb8bbd dropped allow-hotplug
from the primary interfaces file completely on write, but that breaks
setups that come from plain Debian.

Instead, as stop-gap measurement, transform "allow-hotplug" to auto
in the PVE controlled config.

That avoids conflict and improves installing PVE on top of plain
Debian, as the interface still comes up after the first reboot.

But it is not ideal auto is not the same as hotplug, so we need to
also track that difference in the future, but that needs some
adaptions in the API too (change autostart from boolean to
string+enum or so=

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-29 09:57:59 +02:00
..
active_interfaces Fix #882: active state of interfaces depends on ipv6 2016-02-10 12:20:21 +01:00
base Fixup testcases for the previous commit 2019-01-03 09:05:46 +01:00
base-allow-hotplug inotify: network: improve "allow-hotplug" & "auto" interaction 2021-09-29 09:57:59 +02:00
base-auto-allow-hotplug inotify: network: improve "allow-hotplug" & "auto" interaction 2021-09-29 09:57:59 +02:00
brbase Fixup testcases for the previous commit 2019-01-03 09:05:46 +01:00
loopback Fixup testcases for the previous commit 2019-01-03 09:05:46 +01:00
Makefile importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
proc_net_dev importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
runtest.pl test: import JSON for quicker debugging 2021-09-24 12:56:09 +02:00
t.base-auto-allow-hotplug.pl inotify: network: improve "allow-hotplug" & "auto" interaction 2021-09-29 09:57:59 +02:00
t.base.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.bridge_eth_remove_auto.pl half-revert: remove autostart property from bridge ports 2015-10-19 11:11:29 +02:00
t.bridge-v4-v6.pl remove extra space after address && gateway options 2020-03-04 14:59:34 +01:00
t.create_network.pl Inotify: write_network_interfaces : always autostart bond slaves interfaces 2020-06-08 17:34:57 +02:00
t.keep-option-order.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.list-interfaces.pl t.list-interfaces.pl: add cidr address test 2020-03-13 12:16:52 +01:00
t.ovs_bridge_allow.pl remove extra space after address && gateway options 2020-03-04 14:59:34 +01:00
t.parsed_options.pl remove extra space after address && gateway options 2020-03-04 14:59:34 +01:00
t.unhandled-interfaces-to-manual.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.unknown_order.pl Inotify: write_network_interfaces : always autostart bond slaves interfaces 2020-06-08 17:34:57 +02:00
t.update_network.pl remove extra space after address && gateway options 2020-03-04 14:59:34 +01:00