Check for qemu-system-x86_64 not qemu
This commit is contained in:
parent
6188043cef
commit
b0d2c99246
2
main.go
2
main.go
@ -116,7 +116,7 @@ func main() {
|
|||||||
"Create directories && download images")
|
"Create directories && download images")
|
||||||
|
|
||||||
// Check for required commands
|
// Check for required commands
|
||||||
for _, cmd := range []string{"timeout", "docker", "qemu"} {
|
for _, cmd := range []string{"timeout", "docker", "qemu-system-x86_64"} {
|
||||||
_, err := exec.Command("which", cmd).CombinedOutput()
|
_, err := exec.Command("which", cmd).CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln("Command not found:", cmd)
|
log.Fatalln("Command not found:", cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user