Detect debian-installer-based autoinstalls.
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-listvms
index d71d6eb..9c22f59 100755 (executable)
@@ -42,7 +42,9 @@ def get_dom(domid):
             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__':