Changes between Version 35 and Version 36 of InitrdClienteSecondFileSystem


Ignore:
Timestamp:
May 6, 2011, 12:43:27 PM (13 years ago)
Author:
adv
Comment:

info netmodule boot-tools

Legend:

Unmodified
Added
Removed
Modified
  • InitrdClienteSecondFileSystem

    v35 v36  
    9393
    9494
     95
     96cp /etc/schroot/schroot.conf /etc/schroot/schroot.conf.`getDateTime`
     97cat << EOF > /etc/schroot/schroot.conf
     98[IMGogclient]
     99type=loopback
     100file=/var/lib/tftpboot/ogclient/ogclient.img
     101description=ogclient ubuntu luc IMGi
     102priority=1
     103users=root
     104groups=root
     105root-groups=root
     106mount-options=-o offset=32256
     107root-users=root
     108[DIRogclient]
     109type=directory
     110directory=/var/lib/tftpboot/ogclient/ogclientmount
     111description=ogclient ubuntu lucid DIR
     112priority=2
     113users=root
     114groups=root
     115root-groups=root
     116root-users=root
     117EOF
     118cp /etc/schroot/mount-defaults /etc/schroot/mount-defaults.`getDateTime`
     119cat << EOF > /etc/schroot/mount-defaults
     120# mount.defaults: static file system information for chroots.
     121# Note that the mount point will be prefixed by the chroot path
     122# (CHROOT_PATH)
     123#
     124# <file system> <mount point>   <type>  <options>       <dump>  <pass>
     125proc            /proc           proc    defaults        0       0
     126#procbususb      /proc/bus/usb   usbfs   defaults        0       0
     127#/dev            /dev            none    rw,bind         0       0
     128/dev/pts        /dev/pts        none    rw,bind         0       0
     129/dev/shm        /dev/shm        none    rw,bind         0       0
     130#/home          /home           none    rw,bind         0       0
     131/tmp            /tmp            none    rw,bind         0       0                                                               
     132EOF
     133
     134
    95135}}}
    96136 
     
    103143mkdir -p /tmp/opengnsys_installer/opengnsys/client/boot-tools;
    104144svn checkout http://www.opengnsys.es/svn/trunk/client/boot-tools /tmp/opengnsys_installer/opengnsys/client/boot-tools;
    105 source /tmp/opengnsys_installer/opengnsys/installer/ogClient/ogClientManager.lib
     145source /tmp/opengnsys_installer/opengnsys/client/boot-tools/ogClientManager.lib
    106146}}}
    107147