-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to configure user shell
Signed-off-by: Anders F Björklund <[email protected]>
- Loading branch information
1 parent
75221d6
commit 0680266
Showing
9 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ func TestConfig(t *testing.T) { | |
UID: 501, | ||
Comment: "Foo", | ||
Home: "/home/foo.linux", | ||
Shell: "/bin/bash", | ||
SSHPubKeys: []string{ | ||
"ssh-rsa dummy [email protected]", | ||
}, | ||
|
@@ -35,6 +36,7 @@ func TestConfigCACerts(t *testing.T) { | |
UID: 501, | ||
Comment: "Foo", | ||
Home: "/home/foo.linux", | ||
Shell: "/bin/bash", | ||
SSHPubKeys: []string{ | ||
"ssh-rsa dummy [email protected]", | ||
}, | ||
|
@@ -51,10 +53,11 @@ func TestConfigCACerts(t *testing.T) { | |
|
||
func TestTemplate(t *testing.T) { | ||
args := &TemplateArgs{ | ||
Name: "default", | ||
User: "foo", | ||
UID: 501, | ||
Home: "/home/foo.linux", | ||
Name: "default", | ||
User: "foo", | ||
UID: 501, | ||
Home: "/home/foo.linux", | ||
Shell: "/bin/bash", | ||
SSHPubKeys: []string{ | ||
"ssh-rsa dummy [email protected]", | ||
}, | ||
|
@@ -86,10 +89,11 @@ func TestTemplate(t *testing.T) { | |
|
||
func TestTemplate9p(t *testing.T) { | ||
args := &TemplateArgs{ | ||
Name: "default", | ||
User: "foo", | ||
UID: 501, | ||
Home: "/home/foo.linux", | ||
Name: "default", | ||
User: "foo", | ||
UID: 501, | ||
Home: "/home/foo.linux", | ||
Shell: "/bin/bash", | ||
SSHPubKeys: []string{ | ||
"ssh-rsa dummy [email protected]", | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters