40
40
def validate_params(self, params):
41
41
"""Validates the command line parameters."""
42
42
if params.centos_edition not in ['6', '7']:
44
44
"Unknown CentOS edition: %s." % params.centos_edition)
45
45
if params.centos_edition == '7' and params.arch == 'i386':
47
47
"Cannot generate CentOS 7 for i386, as only amd64 is "