diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-07-04 12:58:34 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-07-04 12:58:34 +0300 |
commit | 1d8855480a3bf33cd9546003c95de6b7b5b60a68 (patch) | |
tree | 65d0134ef6faefb92e4596f2f4fa10350fed8de1 /create-vm | |
parent | 5b8fce78452aeb32956e706f3c775f5fbe1df26f (diff) | |
download | ansibleness-1d8855480a3bf33cd9546003c95de6b7b5b60a68.tar.gz |
Use ionice when creating LV
Diffstat (limited to 'create-vm')
-rwxr-xr-x | create-vm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ lvpath="/dev/$vg/$name" # Copy uncompressed image to LV. unxz < "$imagedir/base-$base.img.xz" | pv --size "$size" | - sudo tee "$lvpath" > /dev/null + sudo ionice -c3 tee "$lvpath" > /dev/null # Create VM. virt-install --connect qemu:///system \ |