Changeset 1340


Ignore:
Timestamp:
Apr 25, 2007, 12:25:28 AM (12 years ago)
Author:
bruno
Message:

Merging modifs from 2.2.2 on tools

Location:
branches/stable/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/mkqemu

    r1334 r1340  
    2525fi
    2626
    27 $qemucmd -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
     27if [ _"$QEMUAPP" != _"" ]; then
     28    $qemucmd -m 256 $QEMUOPT -append "$QEMUAPP" -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
     29else
     30    $qemucmd -m 256 $QEMUOPT -redir tcp:${sp}:${ipvm}:22 /users/qemu/$m.qemu
     31fi
    2832) 2>&1 | tee /tmp/mkqemu.log
  • branches/stable/tools/test2qemu

    r1334 r1340  
    4242        vmp=1
    4343        sudo mkdir -p /pub/users/svg/mnt
    44         sudo mount -o loop /pub/users/svg/mondo/images/test-mondo-$m /pub/users/svg/mnt
    45         cp -a /pub/users/svg/mnt/vmlinuz /users/qemu/pxe/$m
    46         cp -a /pub/users/svg/mnt/initrd.img /users/qemu/pxe/$m.img
     44        sudo mount -o loop /pub/users/svg/mondo/images/test-mondo-$m-1.iso /pub/users/svg/mnt
     45        sudo cp -a /pub/users/svg/mnt/vmlinuz /users/qemu/pxe/$m
     46        sudo cp -a /pub/users/svg/mnt/initrd.img /users/qemu/pxe/$m.img
    4747        sudo umount /pub/users/svg/mnt
    4848        cp /users/qemu/pxe.qemu /users/qemu/pxe-$m.qemu
    49         export QEMUOPT="-kernel /users/qemu/pxe/$m -initrd /users/qemu/pxe/$m.img -append 'load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=65536 rw root=/dev/ram iso_mode pxe prefix=test-mondo-$m ipconf=eth0:dhcp nfsmount=flecha.home.musique-ancienne.org:/users/svg/mondo/images'"
     49        set -x
     50        export QEMUOPT="-kernel /users/qemu/pxe/$m -initrd /users/qemu/pxe/$m.img"
     51        export 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=192.168.8.55:/users/svg"
     52        #nfsmount=flecha.home.musique-ancienne.org:/users/svg/mondo/images
    5053        # ramdisk_blocksize=1024
    5154        $TOOLHOME/mkqemu pxe-$m &
    52         sleep 300
     55        sleep 2000
    5356    fi
    54     ssh -q -p $sp bruno@localhost "cd / ; rm -rf ~bruno/mondo ~bruno/RPMS/BUILD/* ~bruno/RPMS/tmp/* /tmp/* ; tar xfz ~bruno/test-mondo.tar.gz ; $MONDOTMP/test-mondo " | tee $MONDOTMP/mkvm.log
    5557    if [ $vmp -eq 1 ]; then
    5658        ssh -q -p $sp root@localhost "halt -p"
Note: See TracChangeset for help on using the changeset viewer.