#/etc/replicator/replicator.conf # #This is the place to configure replicator #Warning this file is an example. Customize it and check it twice #before using replicator. ########################################################### # # # Section: general configuration # # # ########################################################### #Be very verbose #$verbose=1; ########################################################### # # # Section: miniroot configuration # # # ########################################################### #Where will you create the miniroot $nfsroot= "/export/install/miniroot"; ########################################################## # # # Section: bootdisk configuration # # # ########################################################## #Where is your kernel for the target computer $bootkernel = '/export/install/kernels/vmlinuz-for-replicator'; #to boot on a console on a serial port customize this: #$grub=0; #we need to use lilo instead #$serial='0,9600n8'; #$serialcons='console=ttyS0,9600 CONSOLE=/dev/ttyS0'; #List of networks/targets the bootdisk will handle. #you don't need to fill this variable if you only #plan to install dhcp clients. @networks = # network domain netmask gateway broadcast name of targets list ([ "192.168.32.0" , "prof.my.domain", "255.255.255.0", "192.168.32.1", "192.168.32.255", "teachers"], [ "192.168.33.0" , "my.domain", "255.255.255.0", "192.168.33.1", "192.168.33.255", "sysadm_net"], [ "192.168.34.0" , "maths.my.domain", "255.255.255.0", "192.168.34.1", "192.168.34.255", "maths"], ); #for each network create the corresponding targets list @teachers=qw(teach1 teatch2); @sysadm_net=qw(adm1 adm2 adm3); @maths=qw(maths1 maths2 maths3 maths4); ########################################################## # # # Section: network configuration of the target # # # ########################################################## #Network configuration of the target (ignored if you use dhcp) $domainname = 'myfake.domain'; #Lines to add to the /etc/hosts of the target computer #$hosts_supp = "192.168.32.1 host1.myfake.domain host1 \n #192.168.32.45 mynfsserver.myfake.domain mynfsserver \n"; # NFS options for diskless stations or NFS-monted /usr partition #$nfsopts = "nolock,rsize=8192,wsize=8192"; ########################################################## # # # Section: partitioning of the target # # # ########################################################## # To install on a specific disk rather than the first detected disk, # modify and uncomment next line #$target_disk = "/dev/hdb" ; # For MANUAL partionning set $custom_part to 1 $custom_part = 0; #For AUTOMATIC PARTITIONING (not used if $custom_part = 1) @autopart_specs = #mount point min_size max_size ([ "/" , "100Mo", "100Mo"], [ "swap", "64Mo", "128Mo"], [ "/usr" , "800Mo", "3000Mo" ], [ "/var" , "200Mo", "500Mo" ], [ "/export/home", "remaining" ] ); #For MANUAL partionning (not used if $custom_part = 0) # for instance if you want to keep an existing partition # or to define the partition sizes manually before starting the install # process, please gives the affectation of filesystems to partition numbers # and which ones need to be allocated @manualpart_specs = #mount_point partition_number mkfs needed?(0|1) ([ "/" , 1, 1], [ "swap" , 2, 1], [ "/usr" , 3, 1], [ "/var" , 5, 1], [ "/export/home", 6, 0] ); #Lines to add to the /etc/fstab of the target machine $fstab_supp = "/dev/fd0 /floppy auto defaults,user,noauto 0 0 #mynfsserver:/usr/local /usr/local nfs ro,defaults,rsize=8192,wsize=8192 0 0 /dev/cdrom /cdrom auto ro,defaults,user,noauto 0 0\n"; ########################################################## # # # Section: update rules # # # ########################################################## #To fine tune the list of files/directories which are #replicated, edit /etc/replicator/update_rules. #If you delete this file, the default rules are in #/usr/lib/replicator/update_rules.default ########################################################## # # # Section: miscellaneous # # # ########################################################## # To have an NFS /usr-mounted partition on the target # $usr_is_nfs=1; ########################################################## # # # Section: Experts Only # # # ########################################################## #Name of the model machine. Change this only if #the model machine is not the miniroot server #$modele= "mymodel"; #Do NOT modify the following line AND leave it at the end of this file $the_end=1;