Sponsored Content
Full Discussion: kickstart file questions
Top Forums UNIX for Advanced & Expert Users kickstart file questions Post 302193237 by sysgate on Thursday 8th of May 2008 08:55:47 PM
Old 05-08-2008
Given the rpm command syntax, -i flag means install. When I'm installing rpms, I usually do "rpm -Uv package.rpm" - -u for update, and -v for verbosity, so that's another way, but -i is best. Also, if you want to reboot, just add a reboot command based on your distro - it may be reboot, shutdown -r now or something similar.
 

10 More Discussions You Might Find Interesting

1. Linux

Redhat Kickstart

Would anyone know how to set a NIC to 100 Full Duplex from within a kickstart bootdisk? I just added the Tigon3 module to the bootnet.img - it loads fine but auto-negotiates to 100 Half Duplex for some reason - are there any parameters I can pass on the boot disk to force it 100 Full appreciate... (2 Replies)
Discussion started by: silvaman
2 Replies

2. Linux

Redhat AS 3.0 Kickstart file issue

I am trying to create a custom ks.cfg file with redhat AS 3.0. I have a certain package list I would like to install so we have just the packages we need. The issue is in the file it show groups so I have removed them and added my list of packages as I would when useing this in AS 2.1 but for some... (2 Replies)
Discussion started by: Acleoma
2 Replies

3. UNIX for Advanced & Expert Users

Kickstart File

Hi, I was able to set up a kickstart to install Red Hat Enterprise thought a network. I'm trying to enable a NTP time server in the post section of the kickstart file and also enable/disable a few services using chkconfig. I can't seam to get it to work, can anyone help ? I don't beleive i... (2 Replies)
Discussion started by: Georgesaa
2 Replies

4. Shell Programming and Scripting

Simple script to modify kickstart file

Hi, I would like to create a script so that it will ask me the following: 1) What is the ip address? 2) What is the gateway address? 3) What is the hostname? and then put the answer to the below kickstart file (kickstart.cfg) Here I included the kickstart.cfg: # Kickstart file... (9 Replies)
Discussion started by: beeloo
9 Replies

5. Red Hat

RH Kickstart Questions..

Hello, I am pretty new to using Linux and learning as I go, my setup is extremly simple, I have 1 virtual machine running on my laptop running (ubuntu 10.04), I've created a kickstart (Red Hat) file with the ksconfig. So I know have a config file for my Redhat.iso and my VM machine. What's... (1 Reply)
Discussion started by: NelsonC
1 Replies

6. Red Hat

%include in kickstart

RHEL 5.4 I'm trying to use %include statements in my kickstarts, and am running into some problems. In %pre, I can %include /mnt/source/isolinux/setup-questions and that works just fine. One of the things it does is echo out several variables to /tmp/vars In %post --nochroot, I copy... (2 Replies)
Discussion started by: jnojr
2 Replies

7. Red Hat

Networking in kickstart

I'm using a script in %pre that prompts for IP, hostname, etc. The answers are dumped out as variables and used to set up the config files in %post All works well. Now, it's being used to install the OS on an HP Proliant that's in a remote datacenter via iLO, and it takes about an hour to... (2 Replies)
Discussion started by: jnojr
2 Replies

8. Fedora

Rhel 6.1 - How to create a kickstart file?

Can anyone tell me how you create a kickstart file for RHEL 6.1 install? I am new to this and wanting to learn Red Hat. I have a training guide that says to create one but it does not give you instructions on how to do so. (3 Replies)
Discussion started by: Saplmb
3 Replies

9. Red Hat

Trouble creating RHEL 6.5 bootable image with custom kickstart file

Hi everyone, I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder. I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies

10. UNIX for Beginners Questions & Answers

Unable to open input kickstart file curl#37

Hi, Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart Here am trying to include /tmp/swappart file from pre section under disks and partition section. Dont know where exactly am doing wrong My kickstart file... (3 Replies)
Discussion started by: Sumanthsv
3 Replies
MIC-IMAGE-CREATOR(1)					      General Commands Manual					      MIC-IMAGE-CREATOR(1)

NAME
mic-image-creator - Create various images SYNOPSIS
mic-image-creator [options] DESCRIPTION
mic-image-creator is a powerful image creating tool, it can create live CD, live USB, VMWare, KVM and VirtualBox images using a yum repository and a kickstart file. There are also many companion tools for doing various operations on images, including mic-image-convertor, mic-chroot, mic-image-writer, mic-livecd-iso-to-disk, etc. They are all command line tools except mic-image-writer which has GUI if current runtime environment is X. mic-image-manager is a more powerful GUI toolset for them. OPTIONS
General options: --version show version number and exit -h, --help show this help message and exit -c KSCFG, --config=KSCFG Path to kickstart config file -f FORMAT, --format=FORMAT Image format, you can specify as livecd, liveusb, loop, raw, nand, mrstnand, ubi, vdi or vmdk -t TMPDIR, --tmpdir=TMPDIR Temporary directory to use (default: /var/tmp) -k CACHEDIR, --cache=CACHEDIR Cache directory to use (default: private cache) -o OUTDIR, --outdir=OUTDIR Output directory to use (default: current work dir) --genchecksum Generate checksum for image file if this option is provided -S SUFFIX, --suffix=SUFFIX Image name suffix (default: date stamp) -b, --build-bootstrap Build a bootstrap, it should be used with -B or --bootstrap together --mainrepo=MAINREPO Specify main repo name, it must be a repo name in your kickstart file --siteconf=SITECONF Specify site config file, it can be used to set tmpdir, cachedir, outputdir, it also can be used to remap/reroute a repo in kickstart to another equivalent repo, the default site config is ~/.mic2_site.conf. --repo=REPO Specify additional repo, it may be a simple URL or a complicated tuple string, you can specify multiple repos using this option multiple times -B BOOTSTRAP, --bootstrap=BOOTSTRAP Use a given bootstrap env to create image --alt-initrd-name=ALT_INITRD_NAME Name of alternate initrd image, if NOT to use the one from kernel package --record-pkgs=RECORD_PKGS Record the installed packages, valid values: name, content --local-pkgs-path=LOCAL_PKGS_PATH Path for local pkgs (rpms) to be installed OPTIONS For Live USB These options are for creating the live USB file image -i, --interactive Directly write into a USB disk. --fstype=FSTYPE File system type for live USB file image, ext3 or vfat, the default is vfat. --overlay-size-mb=OVERLAYSIZEMB overlay size in MB as unit, it means how size changes you can save in your live USB disk. OPTIONS for MRST NAND These options are for creating the MRST NAND image --initrd-url=INITRD_URL URL of initrd.img, if it need to be retrieved from remote site. --initrd-path=INITRD_PATH Path of initrd.img, if it was saved in local filesystem. --kernel-url=KERNEL_URL URL of kernel file(vmlinuz), if it need to be retrieved from remote site. --kernel-path=KERNEL_PATH Path of kernel file(vmlinuz), if it was saved in local filesystem. --kernel-rpm-url=KERNEL_RPM_URL URL of kernel rpm package, if it need to be retrieved from remote site. --kernel-rpm-path=KERNEL_RPM_PATH Path of kernel rpm package, if it was saved in local filesystem. --bootimg-only Create boot image only. OPTIONS For Debug These options control the output of logging information during image creation -d, --debug Output debugging information -v, --verbose Output verbose progress information --logfile=FILE Save debug information to FILE EXAMPLES
Create a live CD image: mic-image-creator -f livecd -c 2.1-final.ks EXIT STATUS
mic-image-creator returns a zero exist status if it succeeds, otherwise return non-zero and print error message. AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding SEE ALSO
mic-image-convertor(1), mic-chroot(1), mic-image-writer(1), mic-livecd-iso-to-disk(1), mic-image-manager(1) perl v5.12.3 2011-05-31 MIC-IMAGE-CREATOR(1)
All times are GMT -4. The time now is 05:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy