"Brian J. Murrell" <[EMAIL PROTECTED]> writes:
> > it could be done (tell perl to load the module again by removing it from %INC
> > and require'ing it again), but it would cause some pbs. We're restarting
> > install when changing something.
>
> Wow. I think I am surprised at that. Let me ask this then. Assuming
> I am doing an NFS install using the network.img diskette, is there any
> way to have DrakX load the parameters I keep having to enter manually
> (network config, etc.) right from the network.img diskette?
of course! The main idea is to use an auto_install and setting some steps as
non-interactive.
with the following basic auto_inst.cfg.pl, you get a normal install. Just
remove the steps you want automatic from this list, and set the auto_inst
variables as wanted (cf doc from package drakx-autoinstall-doc (in contrib))
to use this auto_inst.cfg.pl, put it in Mandrake/base on the NFS server, and
boot with something like
kickstart=Mandrake/base/auto_inst.cfg.pl
automatic=method:nfs,network:static,ip:192.168.100.25,dns:192.168.100.11,gateway:192.168.100.1,server:192.168.100.39,directory:/export,user:a,pass:a
(as can be seen in gi/tools/i386/netboot/menu.lst.example)
- basic auto_inst.cfg.pl -------------------------------------------------------
$o = {
interactiveSteps => [ qw(selectLanguage selectInstallClass setupSCSI
selectMouse selectKeyboard miscellaneous doPartitionDisks
formatPartitions choosePackages installPackages
setRootPassword addUser configureNetwork summary
configureServices setupBootloader createBootdisk configureX
installUpdates exitInstall) ],
};
--------------------------------------------------------------------------------
You'll mainly need to have "isUpgrade => 1," in your auto_inst.cfg.pl