elif 'cdrom_image' in locals():
check(re.match('^[A-Za-z0-9][A-Za-z0-9_.-]*$', cdrom_image))
disk.append('file:/srv/images/' + cdrom_image + '.iso,hdc:cdrom,r')
elif 'cdrom_image' in locals():
check(re.match('^[A-Za-z0-9][A-Za-z0-9_.-]*$', cdrom_image))
disk.append('file:/srv/images/' + cdrom_image + '.iso,hdc:cdrom,r')