On 12/26/2011 09:57 AM, Michal Soltys wrote: > On 11-12-25 12:57, Cong Wang wrote: >> On Fri, 23 Dec 2011 at 08:04 GMT, Dave Young<dyoung@xxxxxxxxxx> wrote: >>> Add ssh-client module, which support ssh key mode and interactive mode. >>> with --sshkey option you can provide the ssh key to be installed >>> >>> Usage: >>> 1. sshkey mode: >>> transfer your public key to remote machine with ssh-copy-id or do it >>> mannaully >>> example of options: >>> ./dracut -l -H -a ssh-client --sshkey /root/.ssh/id_rsa i.img >>> 2. interactive mode: >>> need use --ctty option, ie.: >>> ./dracut -l -H -a ssh-client --ctty i.img >> >> Seems --sshkey and --ctty are only for ssh-client module, >> so, what if the user specifies -sshkey or --ctty but doesn't >> use ssh-client module? > > For the record - ctty part was meant as a general feature - tty with > control is pretty useful thing to have - and pretty trivial to add, so > why not. > > Though the patches I made earlier also included a few other things, > dunno what's the state of them (probably none ;) ). HEAD differs > significantly by now, so maybe I should redo them as v2. Michal, my ssh module is based on usrmove branch of below: git clone -b usrmove git://git.surfsite.org/pub/git/dracut.git This branch is intend for some work of generic --mount option which can benefit /usr mount and kdump target mount So maybe this branch is different with HEAD as well, how about just keep your patch align with usrmove branch? > > > -- > To unsubscribe from this list: send the line "unsubscribe initramfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Thanks Dave -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html