SCIENTIFIC-LINUX-USERS Archives

October 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"~Stack~" <[log in to unmask]>
Reply To:
~Stack~
Date:
Thu, 13 Oct 2011 18:51:44 -0500
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1883 bytes) , signature.asc (268 bytes)
Hello all,

I am attempting to build a group of systems that boot off of PXE and
auto-install with a kickstart file. I previously used a bundled package
that for certain reasons is no longer applicable to the new system. So I
am learning a lot about what happened behind the scenes of the bundled
package.

This particular stumbling block is: I have a mixed environment of 32bit
and 64bit machines. I would like for the kickstart menu to auto-pick
32bit or 64bit. Is this possible?

I am using DNSMasq as the DHCP/DNS/TFTP server. The only solution I have
found so far is to have two dhcp ranges that have the machines manually
split by a tag. Then depending on the tag the TFTP server hands off one
of two ks.cfg files. The only major difference between the i386 and the
x86_64 ks.cfg files is that one url line. Of course, this isn't a ton of
overhead, but it is two DHCP ranges, two sets of machine files, two TFTP
options, and two ks.cfg files. If there was some way to have the
kickstart file auto-choose then it would just all be a single instance
of each.

Cutting the overhead by half certainly sound nice, I just have not been
able to do it nor has my internet searching turned up anything of use.

Any ideas?

Thanks!
~Stack~

My i386 ks.cfg file:

#platform=x86, AMD64, or Intel EM64T
firewall --enabled --ssh
install
url --url="http://10.1.1.11/scientificlinux/6.1/i386/os"
# Root password
rootpw --iscrypted mypasswordhash
auth  --useshadow  --passalgo=sha512
text
keyboard us
lang en_US
selinux --enforcing
skipx
logging --level=info
timezone  --isUtc America/Chicago
network  --bootproto=dhcp --device=eth0 --onboot=on
bootloader --location=mbr --md5pass="mypasswordhash"
zerombr
clearpart --all --initlabel --drives="sda"
part / --fstype="ext4" --size=20480
part swap --fstype="swap" --size=4096
part /localscratch --fstype="ext4" --grow --size=1
reboot
%packages --nobase
openssh-clients
%end



ATOM RSS1 RSS2