serverspec/serverspec — pull request #290 by darklore (2013-10-30 16:35:09+00:00)
Title: Allow to use '_' and '-' as vagrant machine name

Vagrantfile support in serverspec-init recognizes /[a-z]+/ as virtual machine name.
So that, when a machine name like "xxx_yyy-zzz" for example, serverspec-init recognizes the machine name as "zzz".

This pull request allows '-' and '_' as vagrant machine name.