source: MondoRescue/trunk/tools/mkqemu @ 900

Last change on this file since 900 was 618, checked in by bcornec, 14 years ago

merge -r 591:617 $SVN_M/branches/stable

  • Property svn:executable set to *
File size: 257 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
[440]16
[618]17if [ _"$sp" = _"" ]; then
18    sp=2223
19fi
20
[561]21qemu -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
Note: See TracBrowser for help on using the repository browser.