[anaconda] Add sshkey kickstart command
Colin Walters
walters at verbum.org
Sat Dec 13 16:08:49 UTC 2014
On Fri, Dec 12, 2014, at 09:33 PM, Brian C. Lane wrote:
> sshkey --username=<user> "ssh key"
Thanks for implementing this!
> + iutil.execWithRedirect("restorecon", [authfile])
While I suspect this will be caught by 80-setfilecons.ks, ~/.ssh needs to be labeled correctly too, in addition to everything underneath it. I'd restorecon ~/.ssh after the mkdir, then do the key.c
I'd also only do the restorecon if it didn't already exist, like what you're doing with chmod/chown.
More information about the anaconda-patches
mailing list