Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17759

PXE, NFS and Kickstart with CentOS 6

$
0
0

Hey there :)

I am building a server that could be used to automate deploying CentOS to other machines over the network.

So far I downloaded the whole install tree from rsync://ftp-stud.fht-esslingen.de/centos/6.0/os/x86_64

Then configured NFS for this and made ks.cfg file.

Tested my configuration using the netinstall image and things went okay but still the process isn't automated, I first have to edit the kernel line to tell it about the NFS server then the installer asks me to confirm partitioning the HDD.

But I am kinda stuck regarding PXE as the documentation of RHEL/CentOS are lacking clear details.

So anyone did such thing recently? How can I do that cleanly?

The /etc/exports in the server contains only this line: /shares *(ro,sync)

And ks.cfg: http://pastie.org/2871681

Also bare in mind that DHCP is handled by the ADSL router, how can I avoid conflict between the router and server?

In addition I want to make an update mirror so all servers can be updated local from this master server.

The servers basically should act as Xen hosts. Too bad that RHEL/CentOS 6 dropped Xen for KVM. How can I make installing and configuring Xen in these servers automated? Should I write a script that do that and put it in post-install section of ks.cfg?

Thanks :)

EDIT: Okay I am thinking now about disabling DHCP in router during any server deployment as a lame temporary workaround. But any suggestion are welcome.

submitted by DesertPanther
[link] [8 comments]

Viewing all articles
Browse latest Browse all 17759

Trending Articles