I think this link show a small python script that run this two commands
: http://scriptbrasil.com.br/forum/index.php?showtopic=136033 #!/usr/bin/env python # -*- coding: utf-8 -*- import os from threading import Thread def RunSSHKeys(): os.system("sudo /usr/sbin/ltsp-update-sshkeys") def aux(): os.system('sudo /usr/sbin/ltsp-update-image 1>img.txt &') def RunImage(): th=Thread( target=aux() ) th.start() regards -------- Mensagem original --------
Am Donnerstag 22 Oktober 2009 schrieb RalfGesellensetter: > thanks for your [offlist] reply. > You suggested removing /opt/ltsp/i386/etc/ssh/ssh_known_hosts > which originally has four entries like this: > ltsp-update-sshkeys seems to be the script to be run after cloning a thin client server. However it doesn't help here. Giving it a 2nd thought, a dysfunctional TFTP server resp. a missing kernel cannot be connected to SSH which steps in much later. So, apart from re-trying the clone process (maybe on image level, this time) - any further suggestions on what might have gone wrong? Thanks for any comments! Ralf -- To UNSUBSCRIBE, email to debian-edu-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Windows Live: Make it easier for your friends to see what you’re up to on Facebook. |