Show historical domain CPU usage if available.
[invirt/packages/invirt-web.git] / code / controls.py
index faa27a7..d04b2f5 100644 (file)
@@ -53,7 +53,7 @@ def lvinstall(machine, autoinstall):
                          'arch=%s' % autoinstall.arch,
                          'imagesize=%s' % imagesize]
     if autoinstall.preseed:
-        installer_options += ['preseed=http://'+config.web.hostname+'/static/preseed/'+autoinstall.distribution+'/'+autoinstall.arch+'.preseed']
+        installer_options += ['preseed=http://'+config.web.hostname+'/static/preseed/'+autoinstall.autoinstall_id+'.preseed']
 
     remctl('control', machine.name, 'install',
            *installer_options)