source: MondoRescue/branches/stable/tools/mkqemu@ 603

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

Fix for RedHat 7.3 compiler. declarations should happen earlier.

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