source: MondoRescue/branches/2.2.5/tools/setupqemu@ 1676

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

Adds changelog file template for Debian via pbconf

  • Property svn:executable set to *
File size: 501 bytes
RevLine 
[1674]1#!/bin/bash
2
[1676]3(
[1674]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
[1676]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.