]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch
backup: add patch to initialize bcs bitmap early enough for PBS
[pve-qemu.git] / debian / patches / pve / 0002-PVE-Config-Adjust-network-script-path-to-etc-kvm.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Mon, 6 Apr 2020 12:16:31 +0200
4 Subject: [PATCH] PVE: [Config] Adjust network script path to /etc/kvm/
5
6 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 ---
8 include/net/net.h | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/include/net/net.h b/include/net/net.h
12 index 523136c7ac..c27859b4f6 100644
13 --- a/include/net/net.h
14 +++ b/include/net/net.h
15 @@ -226,8 +226,8 @@ void netdev_add(QemuOpts *opts, Error **errp);
16 int net_hub_id_for_client(NetClientState *nc, int *id);
17 NetClientState *net_hub_port_find(int hub_id);
18
19 -#define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifup"
20 -#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifdown"
21 +#define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/kvm/kvm-ifup"
22 +#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/kvm/kvm-ifdown"
23 #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
24 #define DEFAULT_BRIDGE_INTERFACE "br0"
25