I pxe boot the cz-live cd. this lets me use the stock iso (beta even - working good) and twiddle kernel prams in my pxelinux.cfg/default file.
What I am hoping for is to boot and then ssh in from my main workstation. (some of the boxes I want to run cz on are headless.) I don't want to ask for sshd with a static root pw - that would get shot down, so i won't bother :) What I can see is passing in a URL to dl/run. something like: early_script=http://serv/cz_early.sh kernel linux/clonezilla/live/vmlinuz1 append initrd=linux/clonezilla/live/initrd1.img boot=live union=aufs hostname=intrepid ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" ocs_lang="" ocs_live_keymap="NONE" ip=frommedia nolocales netboot=nfs nfsroot=192.168.1.7:/var/lib/tftpboot/linux/clonezilla/ vga=6 early_script=http://serv/cz_early.sh in cz: (very simplified - need some error checking, exec rights, parsing...) wget http://serv/cz_early.sh ./cz_early.sh My cz_early.sh can then do what it takes to setup sshd and keys/passwords. It would be something like how I do it for debian installer environment (busybox) which is way more than I would need for cz. Or, if I could pass in a pw, or a URL of a public key (or the public key, but that may cause the append line to be too long - not sure what the limits are) or any other ideas? Carl K # isshd.sh # installs sshd in the debian installer environment set -x mkdir -p /var/log touch /var/log/lastlog mkdir -p /etc/ssh cd /etc/ssh wget http://shaz/sshkeys.tar tar xf sshkeys.tar mv sshkeys/* . wget http://shaz/sshd_config cd mkdir .ssh cd .ssh mv /etc/ssh/authorized_keys . anna-install openssh-server-udeb # create an sshd user echo "sshd:x:0:0:installer:/:/bin/network-console" >> /etc/passwd /usr/sbin/sshd ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Clonezilla-live mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clonezilla-live
