Mailinglist Archive: opensuse-autoinstall (50 mails)

< Previous Next >
Re: [opensuse-autoinstall] autoyast from command line/shell ?
  • From: Mike Marion <mmarion@xxxxxxxxxxxx>
  • Date: Fri, 28 Sep 2007 17:02:20 -0700
  • Message-id: <20070929000220.GM32543@xxxxxxxxxxxxxxxxxxxxxx>
On Fri, Sep 28, 2007 at 04:47:16PM -0700, abhijit wrote:

> The end goal is to have a pxe based loader, which gives
> a nice menu with different distro's to install and then fire
> off the required installer.

It sounds like you're trying to re-invent the wheel.

You can already do this with basic pxelinux and the stock autoyast
installer system that comes with suse.  Granted it's text based, but can
be done.

Use display <file> to print out a screen (you can add in escape codes to
color code.  Use Fn <file> where n=number of F key (like F1, F2, etc) to
allow a user to display a different message.  Use label names in the
file to make it easy to start the install.

We've got a setup where the default pxelinux file displays a main
screen, different F keys can display rhel, solaris, suse, (even
windows.. kicks into altiris).  Different names/numbers start the
different install.  

There's a wiki up with examples:
http://syslinux.zytor.com/wiki/index.php/PXELINUX#Custom_Menu_Example_with_sub-menus

FYI, as of the kernel that came with sles/sled10-sp1 (2.6.16.46-*)
they've added the patch to bump the default 256 char cmdline limit to
2048.. so you can pass all kinds of info on there now.  Makes it a lot
eaiser to fit autoyast= install= and other directives we use.

-- 
Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com
UNIX - live it,love it,fork() it ! 
-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >