Sha256: c7c8259535f7ccce44a177f215904c45710d6e1e017972ee387f86b6cc6e51fa

Contents?: true

Size: 260 Bytes

Versions: 12

Compression:

Stored size: 260 Bytes

Contents

#!/bin/sh

if [ "`echo "$@" | grep "kvm" | wc -l`" -eq "1" ]; then
  args=( "$@" "-no-kvm" )
else
  args=( "$@" )
fi

if [ "`uname -a | grep x86_64 | wc -l`" -eq "1" ]; then
  bin=/usr/bin/qemu-system-x86_64
else
  bin=/usr/bin/qemu
fi

exec $bin "${args[@]}"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
boxgrinder-build-0.10.2 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.10.1 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.10.0 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.8 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.7 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.6 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.5.3 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.5.2 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.5.1 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.5 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.4 lib/boxgrinder-build/helpers/qemu.wrapper
boxgrinder-build-0.9.3 lib/boxgrinder-build/helpers/qemu.wrapper