|
List Info
Thread: Not really a kickstart question.....
|
|
| Not really a kickstart question..... |
  United States |
2008-04-22 12:03:43 |
So we can't use netconfig in RHEL5 kickstarts anymore to set
the IP
during the installation phase. I can't seem to get the
setup-tool to run
on first boot (where you can config the net card, turn off
SELinux, etc.).
Am I missing something obvious, or does everyone else who
has a need for
this just script it in the kickstart file?
Thanks for any suggestions.
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
|
|
| RE: Not really a kickstart question..... |
  United States |
2008-04-23 13:31:52 |
Hi Jake,
In the %pre section of the ks file, I run a python script
that
is VERY derived from the anaconda network_text.py code. This
allows the
installer to input the required network info. After which
the rest of
the install is automated. I can prefill the subnet, ip to
last octet,
DNS server... If you don't have fancy requirements, you
should be able
to import network_text *, and call the various modules from
anaconda to
provide netconfig functionality. Yeah Kickstart! And long
live yum.
-----Original Message-----
From: Jake Vickers [mailto:jake v2gnu.com]
Sent: Tuesday, April 22, 2008 10:04 AM
To: Discussion list about Kickstart
Subject: Not really a kickstart question.....
So we can't use netconfig in RHEL5 kickstarts anymore to set
the IP
during the installation phase. I can't seem to get the
setup-tool to run
on first boot (where you can config the net card, turn off
SELinux,
etc.).
Am I missing something obvious, or does everyone else who
has a need for
this just script it in the kickstart file?
Thanks for any suggestions.
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
|
|
| Re: Not really a kickstart question..... |

|
2008-04-23 13:37:49 |
Meyers, John J wrote:
>
> Hi Jake,
>
> In the %pre section of the ks file, I run a python
script that
> is VERY derived from the anaconda network_text.py code.
This allows the
> installer to input the required network info. After
which the rest of
> the install is automated. I can prefill the subnet, ip
to last octet,
> DNS server... If you don't have fancy requirements, you
should be able
> to import network_text *, and call the various modules
from anaconda to
> provide netconfig functionality. Yeah Kickstart! And
long live yum.
>
Cobbler has a way of keeping track of all of these variables
and filling
in these sections automatically.
See this customized section that Robin Bowes contributed
today:
https://fedorahosted.org/cobbler/wik
i/KickstartSnippets#Networkconfiguration
This allows you to do things like:
cobbler system add --name=foo --hostname=foo.example.com
--ip=X ...
and have everything substituted into all the kickstarts
correctly based
on the system that you are installing.
(http://cobbler.et.redhat
.com)
--Michael
> -----Original Message-----
> From: Jake Vickers [mailto:jake v2gnu.com]
> Sent: Tuesday, April 22, 2008 10:04 AM
> To: Discussion list about Kickstart
> Subject: Not really a kickstart question.....
>
> So we can't use netconfig in RHEL5 kickstarts anymore
to set the IP
> during the installation phase. I can't seem to get the
setup-tool to run
> on first boot (where you can config the net card, turn
off SELinux,
> etc.).
> Am I missing something obvious, or does everyone else
who has a need for
> this just script it in the kickstart file?
> Thanks for any suggestions.
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
|
|
| RE: Not really a kickstart question..... |
  United States |
2008-04-24 15:21:05 |
Hi Jake,
The attached script is called in the following manner:
As you can see I do network based installs; You can modify
to your
favorite method(s).
################## begin ks.cfg #####################
# Kickstart file automatically generated by anaconda.
install
nfs --server=<your server ip>
--dir=/vol/rhel5repo/repodata/yum/RedHat/5Client/x86_64
key <your installation key>
#System language
lang en_US
keyboard us
#Reboot after installation
reboot
#Use text mode install
text
#Network information
%include /tmp/net.cfg
#XWindows configuration information
skipx
rootpw --iscrypted <omitted>
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Los_Angeles
bootloader --location=mbr --md5pass=<omitted>
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype ext3 --size=100 --asprimary
part / --fstype ext3 --size=32768 --asprimary
part swap --size=4096 --asprimary
%packages
office
engineering-and-scientific
admin-tools
editors
system-tools
gnome-software-development
text-internet
x-software-development
gnome-desktop
core
authoring-and-publishing
base
java-development
games
legacy-software-development
java
legacy-software-support
base-x
graphics
printing
kde-software-development
kde-desktop
sound-and-video
development-libs
development-tools
graphical-internet
workstation
xinetd
system-config-kickstart
kdegames
k3b
vim-X11
emacs
bind
bind-chroot
system-config-bind
dhcp
-nmap
-bluez-hcidump
-isdn4k-utils
-lrzsz
-sysreport
kernel-devel
%pre --interpreter=/bin/sh
#
cd /tmp
wget ftp://<your server ip>/yum/ks/bin/ksnetcfg.py
chmod 777 ksnetcfg.py
/usr/bin/python ksnetcfg.py
#
###################### end ks.cfg ####################
Cheers,
James Meyers
-----Original Message-----
From: Jake Vickers [mailto:jake v2gnu.com]
Sent: Thursday, April 24, 2008 5:47 AM
To: Meyers, John J
Subject: Re: Not really a kickstart question.....
Meyers, John J wrote:
>
> Hi Jake,
>
> In the %pre section of the ks file, I run a python
script that
is
> VERY derived from the anaconda network_text.py code.
This allows the
> installer to input the required network info. After
which the rest of
> the install is automated. I can prefill the subnet, ip
to last octet,
> DNS server... If you don't have fancy requirements, you
should be able
> to import network_text *, and call the various modules
from anaconda
> to provide netconfig functionality. Yeah Kickstart! And
long live yum.
>
Sorry to be a pain, but would it be possible for me to get a
copy of
that python script? Right now I am using the firstboot
--enable option
but this is not ideal for me. Especially since it does not
allow you to
configure name servers.
Thanks!
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
|
|
|
| Re: Not really a kickstart question..... |
  United States |
2008-04-28 05:29:57 |
Meyers, John J wrote:
> Hi Jake,
> The attached script is called in the following
manner:
> As you can see I do network based installs; You can
modify to your
> favorite method(s).
>
>
Thanks! I'll give this a shot later in the week.
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|