A ssh --batch root@t2prd33 "screen -D -m yast clone_system &" should work. - the target system will shortly switch to text mode and then back to graphic ( Looks like a change back and forth from tty7 ) - clone_system tries to install software in case its needed by it. Do not ask me what happens if this fails. - Its takes some time ( in terms of minutes ) and in unattended mode i had crashes of a few machines because of clone_system Note: - You can attach with a "screen -d -RR" to the running YAST process on the target machine. ( Of course you must login first ) - CRTL_A CRTL_D detach from that session. Cheers Hajo -----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: Friday, February 05, 2010 12:45 PM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] Question: yast autoyast command line alternative on Friday 05 February 2010 Simon Loewenthal/NL/Tele2 wrote:
I've been looking on Google for a day for this command. This makes my life so much easier. Thank-you.
I notice that it starts a ASCII UI but I intend to call this via ssh. e.g ssh root@t2prd33 'yast2 clone_system' Is there a parameter I can specify to have it fall back to a dumb tty, or will it attempt to detect this automatically?
I did not test it but something like this might do the trick: ssh --batch root@t2prd33 "screen -D -m yast clone_system" but it's untested by me -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Stalkers" by mind.in.a.box -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org