diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-13 11:40:16 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-13 11:40:16 +0200 |
commit | ba38291a468363fe3267313b760ae0522616254b (patch) | |
tree | 84fdf4f3a3d084118f29214547a781678b54d26b /create-new-vm.sh | |
parent | 3e7f8d425d593b426c46b472012c271c6497a855 (diff) | |
download | bin-ba38291a468363fe3267313b760ae0522616254b.tar.gz bin-ba38291a468363fe3267313b760ae0522616254b.tar.xz |
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'create-new-vm.sh')
-rwxr-xr-x | create-new-vm.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/create-new-vm.sh b/create-new-vm.sh index 8419ff1..7e3169f 100755 --- a/create-new-vm.sh +++ b/create-new-vm.sh @@ -17,8 +17,8 @@ fi cat <<EOF >vm.xml <domain type='kvm'> <name>$name</name> - <memory unit='KiB'>1048576</memory> - <currentMemory unit='KiB'>1048576</currentMemory> + <memory unit='KiB'>2097152</memory> + <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>4</vcpu> <os> <type arch='x86_64' machine='pc-i440fx-1.7'>hvm</type> @@ -54,6 +54,7 @@ cat <<EOF >vm.xml <interface type='network'> <source network='mynet'/> <model type='virtio'/> + <filterref filter='clean-traffic'/> </interface> <serial type='pty'> <target port='0'/> |