diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-08-24 08:17:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-08-24 08:18:33 +0200 |
commit | bdbb9dc31be89f3741923d579d1e905736c4a9fe (patch) | |
tree | bca7837c99e74f49912fe6a354dc194e6d105a2a /test-machine | |
parent | 44fbef9a8b5f337c39c67983f468a5d5529089e8 (diff) |
Auto-detect host architecture in test-machine script
Diffstat (limited to 'test-machine')
-rwxr-xr-x | test-machine | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test-machine b/test-machine index c7e279a..cdd6001 100755 --- a/test-machine +++ b/test-machine @@ -21,7 +21,8 @@ function error () { info "$*"; exit 1; } br=br0 mac="de:ad:be:ef:b8:da" -kvm=(qemu-system-x86_64 -enable-kvm) +arch="$(uname -m)" +kvm=("qemu-system-$arch" -enable-kvm) nic=virtio-net-pci etap= |