diff options
author | Gabriele Giacone <1o5g4r8o@gmail.com> | 2014-03-23 03:39:29 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-06 18:21:30 +0200 |
commit | 433939ceaeee92c62684bb202de5e5f6710c37c9 (patch) | |
tree | 9cced26dc7e5a0065591ad1f80d2579c7e5acd5a | |
parent | 7c99c0e3a8a80fda6a898ed916c9cc2eccaf3b00 (diff) | |
download | jenkins.debian.net-433939ceaeee92c62684bb202de5e5f6710c37c9.tar.xz |
Switch from writeback to unsafe caching.
-rwxr-xr-x | bin/g-i-installation.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 9507024d..51b24a12 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -137,7 +137,7 @@ bootstrap_system() { else QEMU_KERNEL="--kernel $KERNEL --initrd $INITRD" fi - QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=writeback -m $RAMSIZE -net nic,vlan=0 -net user,vlan=0,host=10.0.2.1,dhcpstart=10.0.2.2,dns=10.0.2.254" + QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=unsafe -m $RAMSIZE -net nic,vlan=0 -net user,vlan=0,host=10.0.2.1,dhcpstart=10.0.2.2,dns=10.0.2.254" # FIXME: benchmark cache=none and =writeback QEMU_WEBSERVER=http://10.0.2.1/ # preseeding related variables @@ -228,7 +228,7 @@ boot_system() { echo "Booting system installed with g-i installation test for $NAME." # qemu related variables (incl kernel+initrd) - display first, as we grep for this in the process list QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown -enable-kvm" - QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=writeback -m $RAMSIZE -net nic,vlan=0 -net user,vlan=0,host=10.0.2.1,dhcpstart=10.0.2.2,dns=10.0.2.254" + QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=unsafe -m $RAMSIZE -net nic,vlan=0 -net user,vlan=0,host=10.0.2.1,dhcpstart=10.0.2.2,dns=10.0.2.254" echo "Checking $NAME.raw:" FILE=$(file $NAME.raw) if [ $(echo $FILE | grep -E '(x86 boot sector|DOS/MBR boot sector)' | wc -l) -eq 0 ] ; then |