-Report VM POST failures on VM creation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
347eff6788
commit
83aab9a10a
@ -200,7 +200,11 @@ sub power {
|
||||
if ($subcommand eq 'on') {
|
||||
unless ($dom) {
|
||||
my $xml=build_xmldesc($node);
|
||||
my $errstr;
|
||||
eval { $dom=$hypconn->create_domain($xml); };
|
||||
|
||||
if ($@) { $errstr = $@; }
|
||||
if ($errstr) { return (1,$errstr); }
|
||||
if ($dom) {
|
||||
refresh_vm($dom);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user