data['cdrom'] = dev_params
elif dev_type == 'disk' and dev_params == '/dev/xenvg/s_install_hda':
data['autoinstall'] = True
-
+ if 'auto=true' in xsc.read('', '%s/image/cmdline' % data['vm']):
+ data['autoinstall'] = True
+
return name, data
if __name__ == '__main__':