Hello, Does anyone have a guide for setting up an nfs server for unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
Dave wrote:
Hello, Does anyone have a guide for setting up an nfs server for unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
How about unattended via http? Given that you probably have a cache of the updates (given that you have 'several machines'), you already have apache running somewhere with a cron to rsync the updates from the nearest mirror?
Thats what i do; centos5 dvd mounted on /var/www/html/cd/0
Boot from cd, linux ks=http://10.1.1.8/unattend.cfg
Not sure if you can put the update (yum -y update) at the bottom of the kickstart cfg as the box doesnt have working DNS lookups at that point (AFAIK)
I usually log on as root, replace the /etc/yum.repo.d/CentOS-Base.repo with my own and then # yum -y update # reboot
That way you dont need NFS (unless for some other business reason)
MrKiwi
On 5/29/07, Dave dmehler26@woh.rr.com wrote:
Hello, Does anyone have a guide for setting up an nfs server for unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
Hi,
Generate a ks.cfg file either using from previous working machine or just run system-config-kickstart, then have your installation image exported on nfs server as well you're new ks.cfg file, from you're would be kickstart client you can boot and issue:
ks=nfsserver:/export/ks.cfg
HTH,
joseph
_______________________________________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
joseph tacuyan wrote:
On 5/29/07, *Dave* <dmehler26@woh.rr.com mailto:dmehler26@woh.rr.com> wrote:
Hello, Does anyone have a guide for setting up an nfs server for unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
Hi,
Generate a ks.cfg file either using from previous working machine or just run system-config-kickstart, then have your installation image exported on nfs server as well you're new ks.cfg file, from you're would be kickstart client you can boot and issue:
ks=nfsserver:/export/ks.cfg
HTH,
joseph
_______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Doesn't Centos 5 gives you the option of adding yum repos to the kickstart file? So if you add the updates repo then it installs an updated os from the get go? Therefor you wouldn't need the yum update -y at the end?
Jean
Jean Figarella wrote:
joseph tacuyan wrote:
On 5/29/07, *Dave* <dmehler26@woh.rr.com mailto:dmehler26@woh.rr.com> wrote:
Hello, Does anyone have a guide for setting up an nfs server for
unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
Hi,
Generate a ks.cfg file either using from previous working machine or just run system-config-kickstart, then have your installation image exported on nfs server as well you're new ks.cfg file, from you're would be kickstart client you can boot and issue:
ks=nfsserver:/export/ks.cfg
HTH,
joseph
_______________________________________________
Doesn't Centos 5 gives you the option of adding yum repos to the kickstart file? So if you add the updates repo then it installs an updated os from the get go? Therefor you wouldn't need the yum update -y at the end?
Jean
I've always wondered about that, and also about the option of creating a (for example) 4.5 CD (ie the 4.0 iso with the updated packages included/replaced so that the end result is a 4.5 machine even before you do a 'yum update'.
Can anyone shed some light?
MrKiwi
I am getting the following error when trying to run yum update:
Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for rsync-2.6.9-1.el4.rf.i386.rpm is not installed
TIA
On 5/29/07, Dale Gilbert dale@celestekats.com wrote:
I am getting the following error when trying to run yum update:
Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for rsync-2.6.9-1.el4.rf.i386.rpm is not installed
You have not installed the gpg key from rpmforge which is used to verify that package. Import this key into rpm and you won't get these warnings anymore.
Dale Gilbert wrote:
I am getting the following error when trying to run yum update:
Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for rsync-2.6.9-1.el4.rf.i386.rpm is not installed
TIA
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
AFAIK it is done like this;
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
MrKiwi
On 5/29/07, MrKiwi mrkiwi@gmail.com wrote:
Dale Gilbert wrote:
I am getting the following error when trying to run yum update:
Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for rsync-2.6.9-1.el4.rf.i386.rpm is not installed
TIA
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
AFAIK it is done like this;
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Better check the rpmforge site:
http://dag.wieers.com/rpm/FAQ.php#B
Akemi
MrKiwi wrote:
Dale Gilbert wrote:
I am getting the following error when trying to run yum update:
Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for rsync-2.6.9-1.el4.rf.i386.rpm is not installed
TIA
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
AFAIK it is done like this;
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
MrKiwi
Oops - Sorry - missed the 'rf' in the package which means it is the RPMForge key you need, not the CentOS key, and as Akemi says, it is in the RPMForge package.
MrKiwi
On Wednesday 30 May 2007, Dale Gilbert wrote:
I am getting the following error when trying to run yum update:
Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for rsync-2.6.9-1.el4.rf.i386.rpm is not installed
Others have already answered that you need the rpmforge key (can be found in the rpmforge-release package).
I wanted to point out a different thing. rsync is originally from Centos-Base and is now about to be replaced by a newer version from rpmforge. If this was what you wanted you may stop reading now.
However, lots of people get a bunch of base packages replaced by 3rd party ones when they add repos and the run yum update. Typically they added the repo for one or a set of packages not available in base and did not expect/notice/want to have base packages over-written.
There are a few ways to controll this. Either you include only the pkgs you want from external repos or you install a yum-plugin that gives you new ways to configure repos. I's suggest having a look att yum-plugin-protectbase and/or yum-plugin-priorities.
/Peter
MrKiwi spake the following on 5/29/2007 3:27 PM:
Jean Figarella wrote:
joseph tacuyan wrote:
On 5/29/07, *Dave* <dmehler26@woh.rr.com mailto:dmehler26@woh.rr.com> wrote:
Hello, Does anyone have a guide for setting up an nfs server for
unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
Hi,
Generate a ks.cfg file either using from previous working machine or just run system-config-kickstart, then have your installation image exported on nfs server as well you're new ks.cfg file, from you're would be kickstart client you can boot and issue:
ks=nfsserver:/export/ks.cfg
HTH,
joseph
_______________________________________________
Doesn't Centos 5 gives you the option of adding yum repos to the kickstart file? So if you add the updates repo then it installs an updated os from the get go? Therefor you wouldn't need the yum update -y at the end?
Jean
I've always wondered about that, and also about the option of creating a (for example) 4.5 CD (ie the 4.0 iso with the updated packages included/replaced so that the end result is a 4.5 machine even before you do a 'yum update'.
Can anyone shed some light?
MrKiwi
You can download the 4.5 CD's or the DVD already done. You only need the updates from after the freeze.