So I've got SystemImager 3.6.3 up and running with the regular rsync
set up. (I followed this guide
http://www.linux.com/article.pl?sid=06/04/24/1724216 incidentally.) So
far I'm just playing with one golden client, a server and a target
machine. Server is running CentOS 4.3 and the golden client is Kubuntu
606.

I'd like to get everything working over ssh. Trouble is, the ssh
functionality appears to be completely undocumented.

I'm currently stuck on how to deploy an image to a target machine over
ssh. Can anyone point me at a guide on how to do this or explain it?

I've been booting the target machine from a CD made using
si_mkautoinstallcd and selecting the 'standard' option. At the boot
prompt I type

kernel IMAGESERVER=theipaddresshere IMAGENAME=kubuntu606

I've tried blocking the rsync port on the server then adding
SSH_USER=root to the kernel options (yes I probably shouldn't be using
root, I'll deal with that later), but the target machine still tries
to connect to the rsync port on the server and of course that fails
because I block it. It gets as far as

get_boel_binaries_tarball
rsync -av serveripaddresshere::boo/i386/standard/boel_binaries/tar/gz
/tmp/boel_bonaries
rsync: failed to connect to... and so on.

Obviously I need to make the installer process connect using ssh not
to the rsync port but I can't work how to do that.

I've got si_getimage going using the --ssh-user option. On the golden
client I call si_prepareclient with --no-rsyncd then start rsync
daemon manually using a tweaked version of the rsyncd.conf file that
si_prepareclient uses that allow connection from localhost. Because
I'm using Kubuntu I also had to install the openssh-server package and
enable a password for the root account. I've made post-install scripts
which remove the openssh-server package and lock the root account on
the target machine.
I suspect I can get si_updateclient working over ssh by a similar
method but haven't tried yet.

My systemimager server is not the DHCP server btw. The target machine
gets it's networking settings via DHCP but from a different server.

thanks,

mike


_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to