diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 83e2f18f7..4fe69a81c 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -108,8 +108,10 @@ sub build_pool_xml { $host =~ s/.*:\/\///; $host =~ s/(\/.*)//; my $srcpath = $1; + my $uuid = xCAT::Utils::genUUID(url=>$url); my $pooldesc = ''; $pooldesc .= ''.$url.''; + $pooldesc .= ''.$uuid.'>'; $pooldesc .= ''; $pooldesc .= ''; $pooldesc .= '';