Software :: Post Installation In Kickstart File

Mar 22, 2011

I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except the post installation steps.I need to copy some files from DVD to the newly built server. For this I have modified my Kickstart file as below, but no luck.

View 3 Replies


ADVERTISEMENT

CentOS 5 :: Kickstart File Post - Copy / Paste Scripting

Feb 23, 2010

I want to design a kickstart file that creates an unattended installation (I've passed that part). After it installs, I want it to automatically read the device's MAC address and change the hostname to match the MAC address with the separators removed. (For example if the MAC address is 01-02-03-04-05-06, the prompt after login should read "root@010203040506")

I know this is entered in the "%post" section of the kickstart file, and I know I'm supposed to use the "cut" and "sed" commands, but I have no idea what I'm doing or how to do it. script so I can copy/paste it into my kickstart file?

View 5 Replies View Related

CentOS 5 :: Yum Still Running During Kickstart Post Installation Script

Sep 13, 2011

I put a script into the post installation of kickstart and the log showed that the yum that is started in the script had to wait for yum to finish. I understand I can (and will) put this package in the packages section, but isn't it bad that yum is still finishing up when the post installation is initialized? Has anyone else noticed this?

View 2 Replies View Related

Fedora Installation :: Error At Post Install Scripts For Fedora 10 Kickstart Installation

Nov 18, 2009

I am trying to install fedora 10 kickstart on my server.But I can't, because my kickstart installation hangs at post install scripts.It is not showing any message & stopped.

View 1 Replies View Related

Red Hat :: Kickstart Mount Partition In %post?

Feb 18, 2011

I am trying to automate installs of Red Hat 5.5 x86. I have a FAT32 partition on my disk at /dev/sda1 that I want to mount to /cdrv folder of the installed OS and I use this line in the %post section for this:"mount -t vfat -o iocharset=utf8,umask=000 /dev/sda1 /cdrv"
For some reason, this does not mount the partition.onfirm using "fdisk -l>>/post.log" that /dev/sda1 is FAT32 and is the Boot partition. I can create any folders or files using the %post section but just this mounting doesnt seem to work.

View 1 Replies View Related

CentOS 5 :: Kickstart Doesn't Run Post Install Commands

Oct 19, 2009

I am trying to copy an updated splash.xpm.gz at the end of a system build but everything in the post section is total ignored.

#--- Post-installation script
%post
#!/bin/sh
#...Mount the installation CD

[code]....

View 8 Replies View Related

General :: Using Kickstart Post Install To Copy Remote Files

Feb 1, 2010

CentOS 5.3 32bit
I'm having trouble trying to copy files from an nfs mounted remote machine during the the post install with kickstart.

My post install:
%post
mkdir /mnt/foo
mkdir /mnt/foo/downloads
mount 206.xx.xx.xxx:/downloads /mnt/foo/downloads
ln -s /mnt/foo/downloads /downloads
sed -i '$ afoo:/downloads /mnt/foo/downloads nfs exec,dev,suid,rw,bg,soft,rsize=8192,wsize=8192 1 1' /etc/fstab
%end
%post --nochroot
cp -r /downloads/thirdparty/importantFolder /mnt/sysimage/opt
%end

View 11 Replies View Related

Software :: RedHat Kickstart Post Fglrx Rpm Install Not Working

Feb 23, 2010

As the title says, I'm building a kickstart for a RedHat installation.I'm trying to incorporate the firegl driver rpm installation and its halfway working, not completly. What I've tried so far is to place the rpm in the --nochroot and in the normal chroot enviornment and neither one works. In the --nochroot, install it with rpm --root /mnt/sysimage/ and in the normal post i just do an rpm -ivh. In either case the fglrx folder is built within /lib/modules, however everything thats supposed to be installed never makes it to the newly installed root. I'm thinking that its actually getting installed to the installation / as opposed to the new /.

View 3 Replies View Related

Software :: Skip 'Installation Method' In Kickstart File

Mar 16, 2011

I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except I have to manually choose "Local CDROM" in the installation process. (see attached pic)Any idea how to skip this.

View 3 Replies View Related

Fedora Installation :: Generate A Kickstart File From An Existing Setup ?

Jan 4, 2009

I have recently been given the task of setting up some thirty odd netbooks with F10 and i was wondering if there is a way to generate a kickstart file from the first netbook (my one lol ) that i have setup to our needs so as to use it to create the same install on the rest of the netbooks. i had thought that i could use the anaconda-ks.cfg file in root's home dir but it is not at all representative of the custom package list i chose during the install.

View 8 Replies View Related

Networking :: Setup A PXE Kickstart Installation - File (ks.cfg) Not Picked The Machine

Aug 4, 2010

I am in a VMware environment, and using RHEL 5.4. I am trying to setup a PXE Kickstart installation. For this I have configured DHCP and TFTP, made a kickstart file and shared it in the network through HTTP. My problem is that somehow kickstart file (ks.cfg) is not picked by the machine in which I am installing the OS. Although, the contents of my kickstart file can be viewed over HTTP. Please see KS_Error.jpg.

[Code]....

However, I believe DHCP and TFTP is working fine as I am getting the correct IP 192.168.1.115 which I have set in /etc/dhcpd.conf. Also, my label 1 which I have set in /tftpboot/linux-install/pxelinux.cfg/default is working fine as I able to locate initrd and vmlinuz. Please see attached Image_1.jpg how to troubleshoot this. I need to paste any of my configuration files?.

View 14 Replies View Related

Ubuntu Installation :: How To Load Kickstart Config File - Refuses To Load File / Launches Generic Install

May 6, 2010

I created an Ubuntu 10.4 iso with the kickstart cfg on it, trying to boot it with the ks=/cdrom/pathtoconfig (tried even ks=cdrom:/path) parameter in VirtualBox but it refuses to load the file and just launches the generic install.

View 1 Replies View Related

General :: Run An Executable File ( Created From Qt) Post Installation (redhat)?

Feb 24, 2011

I want to run an executable file during or post linux installation which take input from user and closes on click of "ok" button. The thing i want to accomplish is something like the screen that turn up during the installation, like setting time or selecting some packages and then pressing next button...i want to do a similar stuff like the above said using my applicatio

View 2 Replies View Related

Software :: RHEL5.4 Rpm File Not Loading From Kickstart File

Mar 18, 2010

I have been using a boot disk with a kickstart file that calls rpm files that are on RHEL4.8. The rpm files tk-devel,tcl-devel,nss-devel and nspr-devel respond back during the install of RHEL5.e with a pop-up saying they do not exist,but when I look on the RHEL5.4 DVD they do exist in the Workstation directory.

View 1 Replies View Related

General :: Add New User In Kickstart File

Apr 29, 2010

I am currently trying to add a new user on a linux box in the %post section of the kickstart file. The user however doesn't get created after I reboot the box after install. Am I missing anything ?Just for info. I am installing RHEL5.4 on a 64 bit box, I know this should not matter, but what the heck!!

View 4 Replies View Related

Red Hat :: How To Copy File Off DVD Created With Kickstart

May 23, 2011

I can't figure out how to copy a file off a custom RHEL 5 DVD that I created with kickstart after the installation completes and the %post runs. I don't want to run as "%post --no-chroot" because I have a script of system changes that needs to run in chroot. I just want to copy one RPM file into the /tmp so my script can install it. Can I have two %posts, one with chroot and one without? I can't seem to find any RHEL 5.5+ guides for kickstart that can explain to me how to make it work.

View 5 Replies View Related

General :: Use A Kickstart File For Red Hat With No Dhcp Server?

Apr 6, 2009

I'm trying to do a red hat Advanced server 4 update 7 install using a kick start file on the network. The server with the kickstart file and dvd contents is on the same subnet as the server receiving the install. We have done it before in the past just fine using:linux nofb text ks=http://serverip/path at the boot/install screen. After that the ip address info is entered manually and the kickstart does its thing. When doing this with update 7, the install acts like a regular install. When i check the http access logs on the other server, it shows no access from the server receiving the install.I have tried adding an ip address to the install command. Such as:

View 2 Replies View Related

General :: Unable To Load A Kickstart File

Nov 8, 2010

I m facing a problem from few days i try to sort it out but i fail to overcome from this problem .

i configure a pxe boot server and mount the RHEL iso to /bootins/tree directory

Then after i created a /kick/client.cfg kickstart file. and share both the directory /bootins/tree and /kick with nfs

below is the entry of my /etc/exports directory

/bootins/tree 192.168.10.0/24(rw,sync)
/kick 192.168.10.0/24(rw,sync)

my client machine can successfully boot from the server but after booting an error msg is come, the msg is unable to load a kickstart file , i dont know why this happens coz i can successfully mount both the above share from another linux machine but dont know why at booting time this msg is appears firewall is off

View 1 Replies View Related

Networking :: Pxe Booting Is Not Reading Kickstart File?

Jun 27, 2010

i am trying to boot linux pc from network booting.. so using pxe,tftp,dhcp(1).i configured my /etc/dhcpd.conf file as...

ddns-update-style none;
ignore client-updates;
allow booting;

[code]....

View 5 Replies View Related

General :: Error With CentOS Kickstart File?

Jan 6, 2010

I have downloaded the following kickstart file for installing minimal < 300 MB space centOS 5.2. I have created a Virtual Machine for Linux and attempting to install CentOS.here is my kickstart file:

Code:
# Kickstart file
#

[code]....

View 3 Replies View Related

Fedora :: Putting Kickstart File Onto USB Flash Drive

Dec 1, 2009

Here is a way to prepare a USB flash drive to save your kickstart file to it, and then read the kickstart file from the USB drive during a new Fedora installation.A USB flash drive is recognised by the Linux kernel as just another hard drive.This is how I set up my USB flash drive to use it to store my kickstart file on.You will need a working Linux system to set up the USB drive.

View 2 Replies View Related

General :: Unable To Create Boot CD With Kickstart File

Mar 18, 2010

I'm unable to create a linux boot cd with a kickstart file. I have a working kickstart file and a working boot image (tested by booting using the network for the kickstart file), but I can't seem to put them both on the DVD.

Here are the steps I took
1. mount the *.iso file to /mnt/isosetups
2. Recursively copy all the files from /mnt/isosetups to /mnt/bootcd
3. removing /mnt/bootcd/isolinux/boot.cat
4. running the mkisofx command (used -c to recreate boot.cat)
5. put the new image on a windows box and burned to a dvd using roxio

The result was that I could enter the red hat boot menu but the server couldn't find the boot image on the cd. I could go into more detail about what commands I entered, my environment, what I tested, etc.

View 1 Replies View Related

Server :: Use The System-config-kickstart To Generate A Ks.cfg File?

Feb 1, 2010

I'm using RHEL 5.4 and trying to use the system-config-kickstart to generate a ks.cfg file with all the settings already appeneded. After running the "system-config-kickstart --generate ks.cfg" command, the file gets created but it's missing the firewall configuration, partition information and so on.

How can these settings also be generated with the system-config-kickstart?

View 1 Replies View Related

Ubuntu :: Creating Pdf \ End Up With A Post Script File Not A Pdf?

May 19, 2010

I'm running karmic koala 9.10I installed cups-pdf and it now shows as the default in my printer list, but when I choose the file type drop down from the printer dialog box it only has ps as an option so when I save it I end up with a post script file not a pdf.

View 3 Replies View Related

Fedora Installation :: Get F14 Updates As Part Of A Kickstart Installation

Apr 5, 2011

I'd like to write a kickstart file that installs available Fedora 14 updates as part of the installation process, much as if I was doing a standard Fedora 14 installation and had enabled the 'updates' repo.

So my question is, is there an easy way to do this? I don't want to have to go down the route of downloading all updated packages and maintaining my own update repo (or indeed, creating a repo with the dependencies listed above).

View 1 Replies View Related

Ubuntu Installation :: Automatic Installation With Kickstart And Syslinux.cfg 10.10?

Jan 17, 2011

I am so close to the answer i think. My goal is to fully automate an entire Ubuntu installation off a usb flashdrive from start to finish. So, i did as this guide said and i made a kickstart ks.cfg file that is used to automate an installation, as i'm sure many of u know.The next step has infinitely confused me. To make the ks.cfg file boot automatically and startup an installation to my specifications.from this linkttp://old-releases.ubuntu.com/ubunt...en/apcs01.htmlI have found that editing the syslinux.cfg file in the syslinux directory on the usb can be used to load preseed file, which to my understanding serves the same purpose as a kickstart file.

View 2 Replies View Related

Server :: Apache2 SVN Post-commit Script Certificate Error Post-commit Hook Failed (exit Code 1) With Output?

Oct 12, 2009

I am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually

Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly

I am using tortoise svn with vista on my work machine

Here is the script

#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob

Here is the result.

Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....

I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed

View 5 Replies View Related

Fedora Installation :: 13 Kickstart Install From HDD ISO?

Jun 1, 2010

I have not used Fedora in a long while (since version 5 I think).I am moving back to it for my new home server but there is something that is driving me completely crazy. Can you no longer do HDD installs from a ISO?I whipped out my old kickstart files and worked off of them and all seams to be OK but every time it says it is unable to find the install source.Here are the first two lines of my KS file:

Code:
install
harddrive --partition=sdb1 --dir=/linux_install/fedora/iso

[code]....

View 1 Replies View Related

Server :: Kickstart Installation Of RHEL6

Apr 26, 2011

I need to do a project on installing RHEL6 via kick start file in a single DVD. I have made the kick start file and it's ready with the basic parameters like keyboard type, language, firewall and SElinux disabled. How can i boot it in the server. Also please help me in the below steps,

I need to use LVM option for File systems except swap and /boot, how can i mention it in the file?If there is a need to use NIS or LDAP where can i mention it in the file?

View 5 Replies View Related

General :: Error In Locking .Xauthority File ... Continued From Previous Post?

Apr 27, 2011

I agree deleting .Xauthority files work, but thats not a good solution. I mean, everytime I have to run any X forwarding application I have to delete the .Xauthority file. Here is my scenarioThe applications that I want to run are on Linux Server [NFS] and the client machines [CIFS] that are having problem in locking theXauthority files are Macs which share the same domain as that of client solaris machine. i.e. The home directory of particular user on Solaris & the home directory of that user on Mac have same contents.When I ssh -X from Solaris to the server, everything works fine, no error messages.When I ssh -X from MACs to the server, I get the following warning messages.

Code:
/usr/X/bin/xauth: error in locking authority file /home/user/.Xauthority
/usr/X/bin/xauth is the path on the server. If I try to break the lock by sudo

[code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved