diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index f3bab6d64..e9d4b2d21 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -528,6 +528,9 @@ sub copycd chomp($darch); last; } + if (not $darch and m/^BASEARCHS\s+(\S+)/) { + $darch = $1; + } } close($dinfo); unless ($darch)