Trailing whitespace fix

This commit is contained in:
Sonny 2017-07-10 07:23:33 +02:00
parent 1044497c5f
commit 2a49f4a4df
2 changed files with 15 additions and 12 deletions

View file

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
qemu-system-x86_64 -enable-kvm --daemonize \ qemu-system-x86_64 -enable-kvm --daemonize \
-cpu host \ -cpu host \
-smp 4 \ -smp 4 \
-drive format=raw,file=/media/platvoeten/VM/kde-neon.img,if=virtio \ -drive format=raw,file=/media/platvoeten/VM/kde-neon.img,if=virtio \
-boot d -cdrom /media/platvoeten/Downloads/neon-useredition-20170706-1018-amd64.iso \ -boot d -cdrom /media/platvoeten/Downloads/neon-useredition-20170706-1018-amd64.iso \
-m 4G \ -m 4G \
-name neon \ -name neon \
-vga qxl \ -vga qxl \
-spice port=5930,disable-ticketing \ -spice port=5930,disable-ticketing \
-device virtio-serial \ -device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \ -chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -device virtserialport,chardev=vdagent,name=com.redhat.spice.0

View file

@ -65,6 +65,9 @@ create_script() {
> $HOME/.bin/qemu/$FILE > $HOME/.bin/qemu/$FILE
sed -i 's/^ *//g' $HOME/.bin/qemu/$FILE sed -i 's/^ *//g' $HOME/.bin/qemu/$FILE
fi fi
# Remove trailing whitespaces
sed -i 's/\s*$//g' $HOME/.bin/qemu/$FILE
} }
# Remove GUI options for headless VM # Remove GUI options for headless VM