mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-13 14:17:39 +00:00

commitc86cfb8bbd
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 commit0dc7fd7b50
) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
# network interface settings; autogenerated
|
|
# Please do NOT modify this file directly, unless you know what
|
|
# you're doing.
|
|
#
|
|
# If you want to manage parts of the network configuration manually,
|
|
# please utilize the 'source' or 'source-directory' directives to do
|
|
# so.
|
|
# PVE will preserve these directives, but will NOT read its network
|
|
# configuration from sourced files, so do not attempt to move any of
|
|
# the PVE managed interfaces into external files!
|
|
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
allow-hotplug ens18
|
|
iface ens18 inet dhcp
|
|
|