abiosoft / abiosoft/colima

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

Offen
#862 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
30.8k
Forks
613
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.