abiosoft / abiosoft/colima

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

Đang mở
#862 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.