Changeset 1676 in MondoRescue
- Timestamp:
- Oct 10, 2007, 2:01:35 AM (17 years ago)
- Location:
- branches/2.2.5
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/tools/setupqemu
r1674 r1676 1 1 #!/bin/bash 2 2 3 ( 3 4 if [ _"$1" == _"" ]; then 4 5 echo "Syntax: setupqemu VM" … … 6 7 fi 7 8 cat /users/bruno/pb/svn/devel/pb/contrib/pbsetupqemu /users/bruno/pb/svn/devel/pb/lib/ProjectBuilder/Distribution.pm > /tmp/pbscript 8 pb -r `pwd` -p mondorescue -m $1 -a root -s /tmp/pbscript script2vm ; pb -p mondorescue -m $1 build2vm 9 for m in $*; do 10 pb -r `pwd` -p mondorescue -m $m -a root -s /tmp/pbscript script2vm ; pb -p mondorescue -m $m build2vm 11 #ssh -p 2222 root@localhost halt 12 #sleep 300 13 #ps auxww | grep qemu | grep -Ev 'grep|setupqemu' | awk '{print $2}' | xargs kill 14 done 15 ) 2>&1 | tee /tmp/setupqemu.log
Note:
See TracChangeset
for help on using the changeset viewer.