Install interactive package non-interactive during Jumpstart

Install interactive package non-interactive during Jumpstart

Post by Remy Zandwij » Thu, 02 Aug 2001 00:09:34



Hi Guru's.

I've build a package which contains a postinstall scripts. During installation
of this package while the machine is running, it asks me wether or not the in-
stall has to continue since a script will be runned as root.

During a installation of this package in jumpstart, the system hangs; I guess
it hangs because it expects input (I cannot verify this, since the log doesn't
mention it). How can I install the package without answering all kind of questions?

Thanks.

-Remy

 
 
 

Install interactive package non-interactive during Jumpstart

Post by Clinton Bunc » Thu, 02 Aug 2001 01:23:16



> Hi Guru's.

> I've build a package which contains a postinstall scripts. During installation
> of this package while the machine is running, it asks me wether or not the in-
> stall has to continue since a script will be runned as root.

> During a installation of this package in jumpstart, the system hangs; I guess
> it hangs because it expects input (I cannot verify this, since the log doesn't
> mention it). How can I install the package without answering all kind of questions?

> Thanks.

> -Remy

Look at the -a option to pkgadd and the admin(4) man page to look up admin files.
    Clinton Bunch

 
 
 

Install interactive package non-interactive during Jumpstart

Post by Joe Blogg » Thu, 02 Aug 2001 05:26:50


yes() {
 while [ /usr/bin/true ]
 do
  echo y
 done

Quote:}

yes | pkgadd -d /path/to/pkg MYpkg

or use pkgask


Quote:> Hi Guru's.

> I've build a package which contains a postinstall scripts. During
installation
> of this package while the machine is running, it asks me wether or not the
in-
> stall has to continue since a script will be runned as root.

> During a installation of this package in jumpstart, the system hangs; I
guess
> it hangs because it expects input (I cannot verify this, since the log
doesn't
> mention it). How can I install the package without answering all kind of
questions?

> Thanks.

> -Remy

 
 
 

Install interactive package non-interactive during Jumpstart

Post by Remy Zandwij » Fri, 03 Aug 2001 17:02:20


Quote:> Look at the -a option to pkgadd and the admin(4) man page to look up admin files.

Thanks, I worked something out with this.

-Remy

 
 
 

1. interactive/non-interactive?

I was wondering how to tell the difference between interactive and non
interactive shells?  I have seen the term used many times, but still have
no clue as to what it means.  I am pretty new at unix still, and I use
the tcsh shell.  The main reason I am asking is because in my .cshrc, it
asks for a separation of commands to be put in either an interactive
title or a non-interactive listing.  As far as I can tell, this has no
outward effect on my shell, other than to invoke all the commands, no
matter where they are.  Are all commands normally the same, or are there
commands for interactive/non-interactive use only?  Any help
would be greatly appreciated.  Thank you for your time and attention.

M Bouknight

2. SATAN Installation

3. Problem - testing for interactive vs. non-interactive using tcsh/prompt

4. arithmetic in kshell; space in assignments

5. Non-interactive t1 AC200 jumpstart

6. Lpd hangs at startup when remote printer is offline and there are jobs for the printer

7. Jumpstart 2.5.1 Non-Interactive

8. gnome application libs? help please :)

9. Packages non interactive installation

10. custom jumpstart drops to interactive install, ignores custom config

11. trying to jumpstart Netra X1, but get interactive install

12. interactive vs not-interactive shell

13. Non-interactive version of edquota?