abiosoft / abiosoft/colima

colima start CLI ignores --mount-type when qemu is chosen

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

説明

### Description

`colima start --vm-type qemu` uses 9p as the mount type, even if you also specify `--mount-type virtiofs`. It is only possible to create a new profile with both qemu and virtiofs if you pass the `-e` flag to `colima start` and edit the config file directly.

### Version

Colima Version: 0.5.0
Lima Version: 0.14.1
Qemu Version: 7.2.0
macOS Ventura 13.1

### Operating System

- [X] macOS Intel
- [ ] macOS M1
- [ ] Linux

### Reproduction Steps

1. Run `colima start profile1 --vm-type qemu -e`
2. See that `mountType` in the options file is `9p`
3. Save and exit
4. Run `colima start profile2 --vm-type qemu --mount-type virtiofs -e`
5. See that `mountType` in the options file is `9p`
6. Save and exit
7. Run `colima start profile 3 --vm-type qemu -e`
8. **Change the `mountType`** from `9p` to `virtiofs`
9. Save and exit
10. Run `colima status profile1` and see it using 9p.
11. Run `colima status profile2` and see it using 9p.
12. Run `colima status profile3` and see it using virtiofs.

### Expected behaviour

- In steps 2, 8, and 10 above, the mountType **perhaps** should start off as `virtiofs`.
- In steps 5 and 11 above, the mountType **definitely** should start off as `virtiofs`.

### Additional context

_No response_

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

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

評価

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

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

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