Skip to content
Browse files

Merge branch 'master' of

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 28, 2019
2 parents 9576c27 + 6647422 commit 22d86e4239ecc54c3f8d04a9b71073da6c68799d
Showing with 22 additions and 1 deletion.
  1. +22 −1
@@ -37,10 +37,31 @@ if [[ $EUID -ne 0 ]]; then
exit 1

# Ensure user changed their MAC address.
# DO NOT continue if you have not! Using the stock MAC means
# you'd have the same HWID as other users! That, as you can imagine
# can cause all kinds of problems, including security issues.
if [[ $platform == 20 ]]; then
hwid=$(/usr/local/bin/nems-info hwid)
# Bad HWID for MAC 080027C75EC1
if [[ $hwid == *'4f6c6d8a4d2670e87004329b99bf517d'* ]]; then
echo "You need to initialize a unique MAC address for your"
echo "virtual Network Interface. Shut down your NEMS appliance"
echo "and modify the Network Interface in your hypervisor."
echo ""
echo ""
exit 1

online=$(/usr/local/share/nems/nems-scripts/ online)
if [[ $online == 0 ]]; then
echo "I am not able to connect with Github."
echo "This could be due to a lack of Internet connectivity, or a firewall issue."
echo "MAKE SURE your system clock is set correctly."
echo ""
echo "This could also be due to a lack of Internet connectivity, or a firewall issue."
echo "We'll proceed with initialization, however please note you need to fix this."
echo "NEMS updates come in via Github, and these patches ensure everything works well."
echo "Please resolve this issue, and confirm by pinging from your NEMS server."

0 comments on commit 22d86e4

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