Commit bec4033a authored by Antoine Millet's avatar Antoine Millet
Browse files

Removed hostname validation from VMSpec checker

parent 6f7180cd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -140,9 +140,6 @@ def validate_machines(data):
        raise VMSpecValidationError('machines: at least one machine must be defined')

    for hostname, spec in data.iteritems():
        if not re.match('^[a-z0-9-]+(.[a-z0-9-]+)*$', hostname):
            raise VMSpecValidationError('machines/[%s]: bad hostname format' % hostname)

        validate_machine_spec(hostname, spec)