Changeset 2191 in MondoRescue for branches/2.2.9/mindi


Ignore:
Timestamp:
May 7, 2009, 1:56:55 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Should fix #310. Adrien, please test ;-)
Location:
branches/2.2.9/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/README.pxe

    r2126 r2191  
    1111label mondo
    1212        kernel vmlinuz-mondo
    13         append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=131072 rw root=/dev/ram iso acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix=machine] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [nfsmount=server:mountpoint] [ping=#] ...
     13        append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=131072 rw root=/dev/ram iso acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix=machine] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [nfsmount=server:mountpoint] [nfspath=local_path] [ping=#] ...
    1414
    1515ipdev is the device name (e.g. eth2)
    … …  
    2121server is the ip addr of the NFS server
    2222mountpoint is the mount point on the NFS server to use (should be in /etc/exports of the NFS server)
     23local_path is the local directory under which the mage was made (with the -d option)
    2324rmadisk_size may have to be increase to 131072 on more recent distributions such as rhel 5
    2425The [] mean this parameter is optional
    … …  
    4546Please report any problem around that tool to bruno@mondorescue.org
    4647
     482009-05-07 nfspath added to allow redeployment from another NFS directory
    47492006-06-10 nfsmount added to allow redeployment from another NFS server
    48502006-06-02 ipdev added to allow redeployment on another interface
  • branches/2.2.9/mindi/rootfs/sbin/start-nfs

    r2002 r2191  
    3333    echo $i | grep -qi nfsmount= && export nfsmount=`echo $i | cut -d= -f2`
    3434    echo $i | grep -qi prefix= && export imgname=`echo $i | cut -d= -f2`
     35    echo $i | grep -qi nfspath= && export dirimg=`echo $i | cut -d= -f2`
    3536done
    3637
Note: See TracChangeset for help on using the changeset viewer.