Modification du chemin utilisé pour récupérer l'adresse MAC (ligne 155)

This commit is contained in:
nemo 2019-01-23 19:48:07 +01:00
parent 436382bb54
commit 6a58df95e7
1 changed files with 1 additions and 1 deletions

View File

@ -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