Mailinglist Archive: opensuse-autoinstall (49 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] Prevent manual installation after interruption of autoyast
- From: "Jochen Schaefer" <jschaef@xxxxxxxxxx>
- Date: Mon, 25 Jul 2011 11:38:00 +0100
- Message-id: <4E2D55950200009700074380@nat28.tlf.novell.com>
Hi Steffen,
thanks a lot. That sounds very useful.
Jochen
You could use the setupcmd boot option which specifies the exact yast start
command. The default is setupcmd="setctsid `showconsole` inst_setup yast".
You could append something like "; halt -f" to it to shut the machine down
(for example) or add some script via dud or directly to the initrd to
execute after yast. Note that yast talks via /etc/yast.inf to linuxrc. You
might look there to decide if yast terminated normally or the user aborted.
noshell=1
Steffen
--
Give orange me give eat orange me eat orange give me eat orange give me you.
(chimp Nim, using sign language)
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
thanks a lot. That sounds very useful.
Jochen
On Thu, 21 Jul 2011, Jochen Schaefer wrote:Steffen Winterfeldt 07/25/11 12:11 PM >>>
I have two questions so far regarding AutoYaST with SLES11-SP1 initrd:
1. is it possible to stop an installation when somebody interrupts the
autoyast process by
pressing 'Abort' or similar things. We need to prevent users proceeding with
manual installation
You could use the setupcmd boot option which specifies the exact yast start
command. The default is setupcmd="setctsid `showconsole` inst_setup yast".
You could append something like "; halt -f" to it to shut the machine down
(for example) or add some script via dud or directly to the initrd to
execute after yast. Note that yast talks via /etc/yast.inf to linuxrc. You
might look there to decide if yast terminated normally or the user aborted.
2. how can I disable other tty's except the installation screen? I need to
prevent console
logins at a second console.
I didn't find /etc/inittab within the initrd of the installation medium.
noshell=1
Steffen
--
Give orange me give eat orange me eat orange give me eat orange give me you.
(chimp Nim, using sign language)
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |