source:
MondoRescue/branches/2.0.8/tools/mkqemu@
3832
Last change on this file since 3832 was 601, checked in by , 18 years ago | |
---|---|
|
|
File size: 257 bytes |
Rev | Line | |
---|---|---|
[440] | 1 | #!/bin/bash |
2 | # | |
3 | # $Id$ | |
4 | # | |
[576] | 5 | # Call virtual machine with qemu |
[440] | 6 | # |
7 | ||
8 | if [ _"$1" == _"" ]; then | |
[576] | 9 | echo "Syntax: qemu vm" |
[440] | 10 | exit -1 |
11 | else | |
[576] | 12 | m=$1 |
[440] | 13 | fi |
14 | ||
[445] | 15 | ipvm=10.0.2.15 |
[440] | 16 | |
[601] | 17 | if [ _"$sp" = _"" ]; then |
18 | sp=2223 | |
19 | fi | |
20 | ||
[576] | 21 | qemu -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu |
Note:
See TracBrowser
for help on using the repository browser.