5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2024-12-22 21:33:47 +03:00
pve-common/test
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
..
etc_network_interfaces inotify: network: improve "allow-hotplug" & "auto" interaction 2021-09-29 09:57:59 +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 tests: run with static TZ value 2021-05-19 18:08:36 +02:00
procfs_tests.pl ProcFSTools: add kernel_version 2019-11-23 12:15:59 +01:00