pve-common/test
Thomas Lamprecht 91608a5361 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>
(cherry picked from commit 0dc7fd7b50)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-30 13:13:23 +02:00
..
etc_network_interfaces inotify: network: improve "allow-hotplug" & "auto" interaction 2021-09-30 13:13:23 +02:00
calendar_event_test.pl tests: update to utc flag and add daylight savings test 2018-10-31 14:56:45 +01:00
convert_size_test.pl fix convert_size with decimal numbers and add tests 2017-12-15 11:15:50 +01:00
format_test.pl format: handle undef, 0, and decimals in render_duration 2021-02-08 14:40:38 +01:00
lock_file.pl tests: remove acquire-lock newline termination 2017-11-10 11:29:54 +01:00
Makefile Add tests for verify_configid 2020-10-29 15:20:40 +01:00
procfs_tests.pl ProcFSTools: add kernel_version 2019-11-23 12:15:59 +01:00