Changeset 1535 in MondoRescue for branches/stable/tools/restoreqemu


Ignore:
Timestamp:
Jul 18, 2007, 6:18:02 PM (17 years ago)
Author:
Bruno Cornec
Message:

Use the configuration files in mondo (begining). That revision doesn't even compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/restoreqemu

    r1334 r1535  
    1919. $TOOLHOME/qemu-env
    2020
     21if [ _"$1" = _"" ]; then
     22    echo "Syntax: restoreqemu vm"
     23    exit -1
     24else
     25    m=$1
     26fi
     27
    2128demodir=/home/bruno/demo-mondo
    2229
    2330
    2431QEMUOPT=" $QEMUOPT -kernel $demodir/k -initrd $demodir/i"
    25 QEMUAPP="load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=65536 rw root=/dev/ram iso_mode nuke pxe prefix=test-mondo-$m ipconf=eth0:dhcp nfsmount=10.0.2.2:$demodir"
     32QEMUAPP="load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=65536 rw root=/dev/ram iso_mode pxe prefix=test-mondo-$m ipconf=eth0:dhcp nfsmount=10.0.2.2:$demodir"
    2633
    2734cp $demodir/pxe.qemu $demodir/test.qemu
Note: See TracChangeset for help on using the changeset viewer.