abiosoft / abiosoft/colima

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

Abierto
#862 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
30.8k
Forks
613
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.