env/instances: Guarantee that right 'authorized_keys' file is created
This commit is contained in:
parent
086b359e17
commit
477152814a
2 changed files with 7 additions and 9 deletions
10
env/instances.go
vendored
10
env/instances.go
vendored
|
|
@ -245,14 +245,12 @@ func (instance Instance) Stack() stack.Installable {
|
|||
"GLOBAL_AUTHORIZED_KEYS_FILE": instance.dis.Config.GlobalAuthorizedKeysFile,
|
||||
},
|
||||
|
||||
CopyContextFiles: nil,
|
||||
|
||||
TouchFiles: []string{
|
||||
"authorized_keys",
|
||||
},
|
||||
|
||||
MakeDirsPerm: fs.ModeDir | fs.ModePerm,
|
||||
MakeDirs: []string{"data", ".composer"},
|
||||
|
||||
TouchFiles: []string{
|
||||
filepath.Join("data", "authorized_keys"),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue