From 6a58df95e7bc337425cb9b5d6a04fe7c89c1cfdf Mon Sep 17 00:00:00 2001 From: nemo Date: Wed, 23 Jan 2019 19:48:07 +0100 Subject: [PATCH] =?UTF-8?q?Modification=20du=20chemin=20utilis=C3=A9=20pou?= =?UTF-8?q?r=20r=C3=A9cup=C3=A9rer=20l'adresse=20MAC=20(ligne=20155)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- creationRoutesVM.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creationRoutesVM.sh b/creationRoutesVM.sh index 0a2606d..57fd41d 100755 --- a/creationRoutesVM.sh +++ b/creationRoutesVM.sh @@ -151,7 +151,7 @@ if [ ${FEED_CACHE} = 1 ]; then CODE_RETOUR_INFOS_RANGES_V6='' fi -MAC=$(grep 'vmbr1$' /etc/pve/qemu-server/${VM_ID}.conf | \ +MAC=$(grep 'vmbr1$' /etc/pve/nodes/*qemu-server/${VM_ID}.conf | \ sed -E 's/.*([[:xdigit:]:]{17}).*/\1/') # Pour chaque subnet V4