[CentOS] custom vnc install disk [dnk]

Tue Jan 31 22:16:32 UTC 2006
lists <mailinglists at backbonetechnology.com>

Hi all.... I had posted hte following on teh centos forums, and thought there might be
additional people in here who do not browse those forum, so after 4 days I am posting
over here as well (sorry for the double - but figured after 4 days it was safe to do so).

Hi there.... I am trying to make a custom centos server cd that will essentially do the
following:

throw the disk in, boot the machine, and have it connect to a listening VNC viewer on
another machine - then just do the install as per normal (nothing else automated other
than the VNC connection). My goal is that since I have limited space at home I want to
be able to load centos onto a machine just by plugging in an ethernet cable (no
monitor/mouse/keyboard), and booting it. I know using VNC is possible and such, but in
the tutorials I have read, you basically you type 'linux vnc' at the boot prompt. I was
reading about using a kickstart file, but the same type of issue you need to press
"enter" to start the vnc install.

Any ideas on how to get around this?

This is what I did so far (so that maybe someone can point out my error).


Now just for detail I created a SIMPLE ks.cfg file with the following:

firewall --disabled
vnc --connect 192.168.0.100


And when adding directives to a kickstart file - does hte order matter? IE when addign
hte vnc directive, does it have to come after the networking info, etc?


it was located on my cd at:

/isolinux/ks.cfg

I edited the file /isolinux/isolinux.cfg

<snip>
default linux
prompt 1
timeout 1
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
F7 snake.msg
label linux
kernel vmlinuz
append initrd=initrd.img ramdisk_size=8192 ks=cdrom:/isolinux/ks.cfg
<snip>

As you can see i set the time out to happen immediately (hoping ot get it to jump right
into the install).
And I added the location to my KS file to the default option.

Any ideas?