From d30317d4ed6367fb279260d1f2443ac74a6c6dbd Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 19 Jul 2010 17:43:15 +0000 Subject: [PATCH] -Have a connsistent UUID to go with url git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 ++ 1 file changed, 2 insertions(+) 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 .= '';