Skip to content

Commit

Permalink
to support VMX
Browse files Browse the repository at this point in the history
  • Loading branch information
vnitinv committed Jun 14, 2014
1 parent 97e8687 commit f751b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/junos/facts/personality.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def facts_personality(junos, facts):
persona = 'SWITCH'
elif examine.startswith("MX"):
persona = 'MX'
elif examine.startswith("vMX"):
elif re.match('^VMX', examine, re.I):
facts['virtual'] = True
persona = 'MX'
elif examine.startswith("VJX"):
Expand Down

0 comments on commit f751b7e

Please sign in to comment.