Permalink
Browse files

updated vmware templates

  • Loading branch information...
1 parent 31a56ec commit 46173b2b49287209d7dd097067863a3d1296203b @logicminds logicminds committed with Dec 28, 2011
Showing with 6 additions and 13 deletions.
  1. +5 −12 templates/vmware/guest.xml.erb
  2. +1 −1 templates/vmware/volume.xml.erb
@@ -13,23 +13,16 @@
<boot dev='hd'/>
<%- end -%>
</os>
- <features>
- <acpi/>
- <apic/>
- <pae/>
- </features>
<clock offset='utc'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>restart</on_crash>
<devices>
<%- if volume -%>
<disk type='file' device='disk'>
+ <source file='<%= volume.path %>'/>
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='0' unit='0'/>
- <source file='<%= volume.path %>'/>
</disk>
<%- end -%>
+ <controller type='scsi' index='0' model='lsilogic'/>
<%- if interface -%>
<interface type='<%= interface.type %>'>
<%- if interface.mac -%>
@@ -39,10 +32,10 @@
<model type='<%= interface.model %>'/>
</interface>
<%- end -%>
- <input type='mouse' bus='ps2'/>
- <graphics type='vnc' port='-1' autoport='yes'/>
+ <graphics type='vnc' port='-1' autoport='yes'>
+ </graphics>
<video>
- <model type='vmvga' vram='4096'/>
+ <model type='vmvga' vram='32768'/>
</video>
</devices>
</domain>
@@ -1,6 +1,6 @@
<volume>
<name><%= to_s %></name>
- <allocation><%= allocated_size %></allocation>
+ <allocation unit="G"><%= allocated_size %></allocation>
<capacity unit="G"><%= size %></capacity>
<target>
<path><%= path %></path>

0 comments on commit 46173b2

Please sign in to comment.