Skip to content
Permalink
Browse files

Add MAC generator for VM

  • Loading branch information...
Cat5TV committed Jun 1, 2019
1 parent 4732615 commit 8b7c641ea52e8c3792c3315d5c9909c36afc0885
Showing with 7 additions and 0 deletions.
  1. +7 −0 init.sh
@@ -49,6 +49,13 @@ else
echo "virtual Network Interface. Shut down your NEMS appliance"
echo "and modify the Network Interface in your hypervisor."
echo ""
tmpdir=`mktemp -d -p /tmp/`
wget -q -O $tmpdir/mac https://nemslinux.com/mac
mac=`cat $tmpdir/mac`
echo "Here is a MAC address you can use in your VM Config: $mac"
echo ""
echo "Visit https://nemslinux.com/mac to generate a MAC address you can use."
echo ""
echo "CANNOT CONTINUE"
echo ""
exit 1

0 comments on commit 8b7c641

Please sign in to comment.
You can’t perform that action at this time.