abiosoft / abiosoft/colima

If colima's ssh_config is included in an included file, colima still adds another include

Aperta
#862 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
30.8k
Fork
613
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description

`~/.ssh/config`:
```
Include config.local
# ...
```
`~/.ssh/config.local`:
```
Include /Users/dottedmag/.colima/ssh_config
# ...
```

After running Colima another `Include` is added to the main SSH config file.

Why does it matter? My `~/.ssh/config` is version-controlled and multi-platform. All local configuration goes to `~/.ssh/config.local`, except that Colima puts its include into the main file, even if I manually move it into the local one.

### Version

```
colima version 0.6.2
git commit: 22d7e5fbc86d5b8e3b27065a762800bc7960a0ff
limactl version 0.18.0
qemu-img version 8.1.2
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
```

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [X] Apple Silicon <= 13 (Ventura)
- [ ] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

N/A

### Reproduction Steps

1. Create the SSH configuration files as described above
2. Run `colima start`

### Expected behaviour

Colima looks through `Include`s to find its own `Include`, and doesn't add it if it finds it.

### Additional context

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.