abiosoft / abiosoft/colima

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

オープン
#862 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
30.8k
フォーク
613
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。