Worked two weeks to modify an existing push script to break up machines according to operating systems (HP/UX & SUN) and versions (11i, 11iv2 & 11iv3, 5.8 & 5.9) to allow the proper packages to get installed and equalize my password across all boxes which were under the maintenance window this weekend.
Keeping in mind that the -n option for pkgadd directs Sun's package installer to do to so without prompting for interaction, (-n Installation occurs in non-interactive mode.) I found the following caveat frustrating:
Two weeks worth of work so I could fire off the script and just sit back and watch my installations take place was in jeopardy, which would require me instead to log into each and every box and run these commands by hand.
That's when I discovered -a my saving grace!
Simply put, I copied the default /var/sadm/install/admin/default file to one named noask and changed the following lines from 'ask' to 'nocheck'
Since the file noask was created in the default path, all I had to do was follow the pkgadd command with '-a noask'
From that point, I just kicked off the script, put my feet up, and watched the magic happen.
Keeping in mind that the -n option for pkgadd directs Sun's package installer to do to so without prompting for interaction, (-n Installation occurs in non-interactive mode.) I found the following caveat frustrating:
The -n option causes the installation to halt if any interaction is needed to complete it.
Two weeks worth of work so I could fire off the script and just sit back and watch my installations take place was in jeopardy, which would require me instead to log into each and every box and run these commands by hand.
That's when I discovered -a my saving grace!
Simply put, I copied the default /var/sadm/install/admin/default file to one named noask and changed the following lines from 'ask' to 'nocheck'
#ident "@(#)default 1.4 92/12/23 SMI" /* SVr4.0 1.5.2.1 */
mail=
instance=unique
partial=ask
runlevel=ask
idepend=ask
rdepend=nocheck
space=ask
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=default
Since the file noask was created in the default path, all I had to do was follow the pkgadd command with '-a noask'
pkgadd -a noask -d [/path_to/pkg]
From that point, I just kicked off the script, put my feet up, and watched the magic happen.
(no subject)
What does that mean exactly???
(no subject)
(no subject)
(no subject)
Unfortunately, the sheets of metal kept slipping under the beats of the hammer, and I'd have to move them back into place, so I said in a really angry voice to those pieces of metal, "STOP MOVING AROUND!" And they did, and I was able to pound my metal with a multitude of hammers simultaneously. It was like, 17 other people hammering my metal for me.
(no subject)
(no subject)
and affixed 17 sets of hammers to the pole
Reminds me of Pink Floyd's "The Wall"
(no subject)
(no subject)
(Of course that's how easy I *thought* this was going to be...)
NOTICKET
I tried finding the scene from Dogma when Silent Bob does it but couldn't find it, so...
(no subject)
(no subject)
(Pun intended)