Add SSH Key Management

This commit is contained in:
Tom Wiesing 2023-01-15 13:41:56 +01:00
parent ef76844922
commit bcd1805001
No known key found for this signature in database
62 changed files with 1004 additions and 188 deletions

View file

@ -148,16 +148,6 @@ func (bs cBootstrap) Run(context wisski_distillery.Context) error {
return err
}
context.Println(tpl.AuthorizedKeys)
if err := environment.WriteFile(
env,
tpl.AuthorizedKeys,
bootstrap.DefaultAuthorizedKeys,
fs.ModePerm,
); err != nil {
return err
}
context.Println(tpl.SelfResolverBlockFile)
if err := environment.WriteFile(
env,