diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index 2f2b6995b..475d9ae00 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -215,8 +215,7 @@ foreach (@ndrivers, @default_ndrivers) { } } -my $uarch = $arch; -$uarch = "amd64" if ($arch eq x86_64); +my $uarch = xCAT::Utils->debian_arch($arch); unless ($onlyinitrd) {