Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

kvm: follow up to #1525 issue #1895

Merged
merged 1 commit into from Jan 11, 2016
Merged

Conversation

borqosky
Copy link
Contributor

ssh keys setup moved to stage1, from stage0. data directory
(as requested by @krnowak) separated from stage0 rkt datadir.
sshd port removed from configuration (inetd mode use only).


func ensureKeysExistInPod(workDir string) error {
destRootfs := common.Stage1RootfsPath(workDir)
keyDirPath := filepath.Join(destRootfs, "/root", "/.ssh")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The slashes are not required here. "root", ".ssh" is enough.

@krnowak
Copy link
Collaborator

krnowak commented Jan 4, 2016

One nit, otherwise looks fine and dandy.


func ensureKeysExistInPod(workDir string) error {
destRootfs := common.Stage1RootfsPath(workDir)
fmt.Println(u.HomeDir)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgotten debug line?

ssh keys setup moved to stage1, from stage0. data directory
(as requested by @krnowak) separated from stage0 rkt datadir.
sshd port removed from configuration (inetd mode use only).
@krnowak
Copy link
Collaborator

krnowak commented Jan 11, 2016

LFAD.

krnowak added a commit that referenced this pull request Jan 11, 2016
@krnowak krnowak merged commit f752f4c into rkt:master Jan 11, 2016
@mzylowski mzylowski deleted the wborkows/issue_1525 branch August 1, 2016 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants