]> git.proxmox.com Git - pve-installer.git/commitdiff
source interfaces.d snippets by default
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Nov 2023 10:11:01 +0000 (11:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Nov 2023 10:11:01 +0000 (11:11 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Proxmox/Install.pm

index c99748c2c2a985f7910d69df2131b6353c5cf229..a0e1f5dfe9627e11e3d84ac682c401b38bee042d 100644 (file)
@@ -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