diff --git a/lib/jnpr/junos/facts/personality.py b/lib/jnpr/junos/facts/personality.py index 0c3115264..d36914eb5 100644 --- a/lib/jnpr/junos/facts/personality.py +++ b/lib/jnpr/junos/facts/personality.py @@ -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"):