01-13-2009
how to config ks.cfg for install another progra.
i create ks.cfg for automatic install for centos 5.2 it's work perfectky for cutom install linux package.
and i want to install another program with shell scripts (assume test.tar include in DVD linux custom package)** single dvd include linux os and test.tar
sample
#!/bin/bash
/bin/mkdir -p /etc/install
/bin/cp test.tar /etc/install (copy test.tar from dvd linux to /etc/install)
/bin/tar -xvf /etc/install/test.tar
how to run shell script it on ks.cfg
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all...........
I work for a big french car manufacturer.
I'm supposed to put up a secure protocol, that means ssh. I'm looking for free ssh codes and binaries, and the install and config of it...
Any help would be great...
:confused: :confused: :confused:
Thanx
Jason (3 Replies)
Discussion started by: a_new_admin
3 Replies
2. UNIX for Dummies Questions & Answers
Hello, I'm a newbie to unix. I just about have the Suse 10.1 installed. During set up it automatically detected components to access the internet. But failed. I lost now.
Any ideas?
Thank You (2 Replies)
Discussion started by: Nick7269
2 Replies
3. UNIX for Advanced & Expert Users
Hello Friends
I am new to this forum and this is my first post.
I have to write a script in which i have to read data from a configuration ( .cfg) file. And also i have to execute/call some already written scripts from this script.
Can you people plpease help me on this regards.
Thanks... (5 Replies)
Discussion started by: smallwonder
5 Replies
4. Homework & Coursework Questions
I don't know how to delete this thread.
Admin/Mod, Please delete this thread.
Thanks. (0 Replies)
Discussion started by: Cyansnow
0 Replies
5. Shell Programming and Scripting
hi; i have one configuration file(configuration.cfg),where contents are below..
filename = charge.cfg
sectionname =
networkid = 1
retrytimes = 2
-------------
--------------
sectionname =
networkid = 1
retrytimes = 2
filename = xyz.cfg
------------------
-----------------
There is... (7 Replies)
Discussion started by: suryanarayan
7 Replies
6. Red Hat
i have automated installation of my proprietory linux.. using PXE. it all goes well. but after complete installation, while using the admin interface.. i am facing display problems.
is it due to package dependencies.?
or i have to write post script in anaconda-ks.cfg file???
can some one tell... (10 Replies)
Discussion started by: jayesh_j
10 Replies
7. UNIX for Dummies Questions & Answers
Is there a way to set the about:config options for Firefox automatically as part of the installation of Firefox? (3 Replies)
Discussion started by: figaro
3 Replies
8. Red Hat
Heyas
I'm trying to build a live image using livecd-tools (livecd-creator), but this time i'd like to reuse the /root/anaconda-ks.cfg.
System: Fedora 3.16.7-200.fc20.x86_64
The building starts, the download begins, but it fails with networking.
MAIN.ks
# Based on: fedora-live-base.ks... (0 Replies)
Discussion started by: sea
0 Replies
9. Shell Programming and Scripting
I have been looking everywhere for a solution and it seems as though awk may do the trick. I am very much a newbie in the awk scripting world but it seems to appear one of the best text parsing tools from what I've read on this forum.
Scenario:
I have about 50 cisco config files randomly... (7 Replies)
Discussion started by: djzah
7 Replies
10. UNIX for Dummies Questions & Answers
cleanwork /saswork removes sas orphanded processes in the saswork directory. Subdirectories under sasem are sas94, sas92 and sasworks .
I am getting the following error messages:
1.
'/usr/bin/sudo -S apt-get update <~/opt/SiM/pos/ps/db_auth.cfg... (4 Replies)
Discussion started by: dellanicholson
4 Replies
LEARN ABOUT DEBIAN
gpt-install
GPT-INSTALL(8) User Contributed Perl Documentation GPT-INSTALL(8)
NAME
gpt-install - Installs GPT packages.
SYNOPSIS
gpt-install [options] [packages or bundles]
Options:
-verbose Print copious output
-help Print usage
-man Print man page.
-version Print GPT version.
-force Replace package no matter what.
-loose Replace a broader range of packages.
-installdir=PATH Override $GLOBUS_LOCATION.
-tmpdir=PATH Path to tmp disk space
[packages or bundles] List of binary packages and bundles to install.
DESCRIPTION
gpt-install takes a GPT described package or bundle and installs it. The program can install either RPM's or GPT packages.
OPTIONS
-force forces all action to be taken, regardless of state.
-tmpdir Place to unpack bundles.
-installdir
Directory to which files shall be written. Default is $GLOBUS_LOCATION
-loose pgm packages can replace a pgm_static package (and vice versa) or a pgm package with a different flavor.
-help Print a brief help message and exits.
-man Prints the manual page and exits.
-version
Prints the version of GPT and exits.
EXAMPLES
For the command:
gpt-install foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will B<not> be replaced. It is newer.
foo-1.1-vendorcc32-pgm will B<not> be replaced. Wrong flavor.
foo-1.1-gcc32-pgm_static will B<not> be replaced. Wrong package type
foo-2.2-gcc32-pgm_static will B<not> be replaced. Wrong package type
For the command:
gpt-install -force foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will be replaced.
foo-1.1-vendorcc32-pgm will B<not> be replaced. Wrong flavor
foo-1.1-gcc32-pgm_static will B<not> be replaced. Wrong package type
foo-2.2-gcc32-pgm_static will B<not> be replaced. Wrong package type
For the command:
gpt-install -loose foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will B<not> be replaced. It is newer.
foo-1.1-vendorcc32-pgm will be replaced.
foo-1.1-gcc32-pgm_static will be replaced.
foo-2.2-gcc32-pgm_static will B<not> be replaced. It is newer.
For the command:
gpt-install -force -loose foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will be replaced.
foo-1.1-vendorcc32-pgm will be replaced.
foo-1.1-gcc32-pgm_static will be replaced.
foo-2.2-gcc32-pgm_static will be replaced.
BUGS
gpt-install currently does not honor static build numbers. Instead it will replace any pgm_static package that is the same version or
older. For example:
gpt-install -force foo-2.1-2-gcc32-pgm_static.tar.gz
foo-1.1-5-gcc32-pgm_static will be replaced.
foo-2.1-1-gcc32-pgm_static will be replaced.
foo-2.1-5-gcc32-pgm_static will be replaced.
foo-2.2-1-gcc32-pgm_static will not be replaced.
foo-2.1-gcc32-pgm will not be replaced.
SEE ALSO
gpt-uninstall(1) gpt-query(1) gpt-verify(1)
AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>
perl v5.14.2 2012-04-30 GPT-INSTALL(8)