Skip to content

Commit

Permalink
Update network.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Feb 8, 2024
1 parent e21aa6b commit eaa1464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ getInfo() {
VM_NET_MAC=$(echo "$HOST" | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:11:32:\3:\4:\5/')
fi

VM_NET_MAC="${VM_NET_MAC,,}"
VM_NET_MAC="${VM_NET_MAC^^}"
VM_NET_MAC="${VM_NET_MAC//-/:}"

if [[ ${#VM_NET_MAC} == 12 ]]; then
Expand Down

0 comments on commit eaa1464

Please sign in to comment.