source: branches/2.2.5/tools/setupqemu @ 1676

Last change on this file since 1676 was 1676, checked in by Bruno Cornec, 13 years ago

Adds changelog file template for Debian via pbconf

  • Property svn:executable set to *
File size: 501 bytes
Line 
1#!/bin/bash
2
3(
4if [ _"$1" == _"" ]; then
5    echo "Syntax: setupqemu VM"
6    exit -1
7fi
8cat /users/bruno/pb/svn/devel/pb/contrib/pbsetupqemu /users/bruno/pb/svn/devel/pb/lib/ProjectBuilder/Distribution.pm > /tmp/pbscript
9for 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
14done
15) 2>&1 | tee /tmp/setupqemu.log
Note: See TracBrowser for help on using the repository browser.