From 3cbda09617bc5c9ed5f4d9769e84dc475895dd34 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 9 Sep 2018 19:11:12 +0000 Subject: [PATCH] allow-hotplug for network devices not available yet --- templates/network-interface-debian.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/network-interface-debian.j2 b/templates/network-interface-debian.j2 index 68da69f..4f28405 100644 --- a/templates/network-interface-debian.j2 +++ b/templates/network-interface-debian.j2 @@ -3,7 +3,8 @@ ### netif {{netif}} {% set dev = netifs[netif].device | default( 'enx' + netifs[netif].mac | regex_replace(':') ) %} -auto {{dev}} +#auto {{dev}} +allow-hotplug {{dev}} {% if netifs[netif].type == "virt_ptp" %} # virt_pointopoint -> {{virt_host}} {{netifs[netif].virt_host_netif}}