[anaconda] Add sshkey kickstart command
Brian C. Lane
bcl at redhat.com
Mon Dec 15 15:02:24 UTC 2014
On Sat, Dec 13, 2014 at 11:08:49AM -0500, Colin Walters wrote:
> 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.
Good points, will change them before pushing.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list