X-Git-Url: https://git.madduck.net/code/vinst.git/blobdiff_plain/71af94ba096bed96bdf3f6978ded93d14b586ed1..fb9e98ac359dc59d2ca9dec9e0b9058ca7717949:/vinst diff --git a/vinst b/vinst index 9eb0470..7d0ad49 100755 --- a/vinst +++ b/vinst @@ -157,7 +157,7 @@ if [ -z "$ARCH" ]; then fi if [ -z "$MAC" ]; then - bytes=$(dd status=none if=/dev/urandom bs=3 count=1 | hexdump -v -e '/1 ":%02X"') + bytes=$(dd status=noxfer if=/dev/urandom bs=3 count=1 | hexdump -v -e '/1 ":%02X"') MAC=52:54:00$bytes fi @@ -208,12 +208,12 @@ virt-install --connect=$QEMU_URI \ --graphics=vnc \ --serial=pty \ --watchdog i6300esb,action=reset \ - -l $BASEDIR/installer-amd64 \ --os-variant=debianwheezy \ --initrd-inject=$BASEDIR/preseed/$SUITE/preseed.cfg \ --initrd-inject=$tmpdir/commands.tar \ - --prompt --noautoconsole --autostart \ --extra-args="$extra_kargs" \ + --prompt --noautoconsole --autostart $extra_opts \ + -l $BASEDIR/installer-amd64/$SUITE \ "$@" virsh --connect=$QEMU_URI console $HOSTNAME