Permalink
Browse files

change default memory back, fix tabbing

  • Loading branch information...
1 parent 704ddf1 commit efd3b34527bf01fe5dbdde370d2c2b8f1b67aab6 @krobertson committed Jul 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/chef/knife/xenserver_vm_create.rb
@@ -55,7 +55,7 @@ class XenserverVmCreate < Knife
option :vm_memory,
:long => "--vm-memory AMOUNT",
:description => "The memory limits of the Virtual Machine",
- :default => '1024'
+ :default => '512'
option :vm_cpus,
:long => "--vm-cpus AMOUNT",
@@ -238,7 +238,7 @@ def run
vm.add_attribute('to_xenstore_data', 'vm-data/gw', config[:vm_gateway]) if config[:vm_gateway]
vm.add_attribute('to_xenstore_data', 'vm-data/nm', config[:vm_netmask]) if config[:vm_netmask]
vm.add_attribute('to_xenstore_data', 'vm-data/ns', config[:vm_dns]) if config[:vm_dns]
- vm.add_attribute('to_xenstore_data', 'vm-data/dm', config[:vm_domain]) if config[:vm_domain]
+ vm.add_attribute('to_xenstore_data', 'vm-data/dm', config[:vm_domain]) if config[:vm_domain]
if config[:vm_tags]
vm.set_attribute 'tags', config[:vm_tags].split(',')

0 comments on commit efd3b34

Please sign in to comment.