From 6c6291d2f45ee37588d874b76167cbc9853ebdbc Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 23 Nov 2023 11:11:01 +0100 Subject: [PATCH] source interfaces.d snippets by default Signed-off-by: Thomas Lamprecht --- Proxmox/Install.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm index c99748c..a0e1f5d 100644 --- a/Proxmox/Install.pm +++ b/Proxmox/Install.pm @@ -979,6 +979,8 @@ sub extract_data { $ifaces .= "\niface $name $ntype manual\n"; } + $ifaces .= "\n\nsource /etc/network/interfaces.d/*\n"; + file_write_all("$targetdir/etc/network/interfaces", $ifaces); # configure dns