From 235e3e9d7f29f3378705a83caabeb2b43f636727 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 4 Jun 2013 18:36:04 +0000 Subject: [PATCH] Recognize some common variants on chvm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 26ef07969..8f94ea27d 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -1550,10 +1550,10 @@ sub chvm { GetOptions( "a=s"=>\@addsizes, "d=s"=>\@derefdisks, - "mem=s"=>\$memory, - "optical|cdrom=s"=>\$cdrom, + "mem|memory=s"=>\$memory, + "optical|dvd|cdrom=s"=>\$cdrom, "eject"=>\$eject, - "cpus=s" => \$cpucount, + "cpus|cpu=s" => \$cpucount, "p=s"=>\@purge, "resize=s%" => \%resize, );