Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2018-08-24,backup-redmine/2019-09-14,master
commit b7fe44ccdf38c8f123a76d3ae35f08c4f7d2afff Author: Sven Eckelmann sven@narfation.org Date: Sun Aug 12 15:52:15 2018 +0000
doc: open-mesh/run.sh
b7fe44ccdf38c8f123a76d3ae35f08c4f7d2afff open-mesh/run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/open-mesh/run.sh b/open-mesh/run.sh index f6171b0..4306bda 100644 --- a/open-mesh/run.sh +++ b/open-mesh/run.sh @@ -2,12 +2,13 @@
SHARED_PATH=/home/sven/tmp/qemu-batman/
-for i in `seq 1 2`; do +for i in `seq 1 5`; do qemu-img create -b debian.img -f qed root.cow$i normalized_id=`echo "$i"|awk '{ printf "%02d\n",$1 }'` screen qemu-system-x86_64 -enable-kvm -kernel bzImage -append "root=/dev/vda rw console=ttyS0" \ - -smp 2 -m 256 -drive file=root.cow$i,if=virtio \ + -smp 2 -m 512 -drive file=root.cow$i,if=virtio \ -netdev type=tap,id=net0,ifname=tap$i,script=no -device virtio-net-pci,mac=02:ba:de:af:fe:`echo $i|awk '{ printf "%02X", $1 }'`,netdev=net0 \ -virtfs local,path="${SHARED_PATH}",security_model=none,mount_tag=host \ -nographic + sleep 1 done