From 350421129d8d9abfde15e359d4de394b8c142ad7 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 2 Mar 2015 05:23:38 -0500 Subject: [PATCH] change the default memory size for diskless node to be 4G from 512M --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 2e010fe84..399694f7e 100755 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -2573,7 +2573,7 @@ sub adopt { if ($confdata->{vm}->{$node}->[0]->{memory}) { $addmemory{$target}+=getUnits($confdata->{vm}->{$node}->[0]->{memory},"M",1024); } else { - $addmemory{$target}+=getUnits("512","M",1024); + $addmemory{$target}+=getUnits("4096","M",1024); } $hyphash{$target}->{nodes}->{$node}=1; delete $orphash->{$node};