distro: housekeeping with cpu arch and arch.Name()

This commit is contained in:
Jordi Gil 2022-04-13 15:22:32 -04:00 committed by Tomáš Hozza
parent 02debc0cda
commit 616258ee25
20 changed files with 51 additions and 50 deletions

View file

@ -139,7 +139,7 @@ func WithBootedQemuImage(image string, ns NetNS, f func() error) error {
"-nographic",
image,
)
} else if common.CurrentArch() == "aarch64" {
} else if common.CurrentArch() == distro.Aarch64ArchName {
// This command does not use KVM as I was unable to make it work in Beaker,
// once we have machines that can use KVM, enable it to make it faster
qemuCmd = ns.NamespacedCommand(