source: MondoRescue/trunk/tools/mkqemu@ 561

Last change on this file since 561 was 561, checked in by bcornec, 18 years ago

merge -r 542:560 $SVN_M/branches/stable

  • Property svn:executable set to *
File size: 226 bytes
RevLine 
[440]1#!/bin/bash
2#
3# $Id$
4#
[561]5# Call virtual machine with qemu
[440]6#
7
8if [ _"$1" == _"" ]; then
[561]9 echo "Syntax: qemu vm"
[440]10 exit -1
11else
[561]12 m=$1
[440]13fi
14
[445]15ipvm=10.0.2.15
[561]16sp=2222
[440]17
[561]18qemu -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
Note: See TracBrowser for help on using the repository browser.