Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot specify JSON custom arguments because quotes are eaten #6343

Open
asdfugil opened this issue May 12, 2024 · 0 comments
Open

Cannot specify JSON custom arguments because quotes are eaten #6343

asdfugil opened this issue May 12, 2024 · 0 comments
Milestone

Comments

@asdfugil
Copy link

asdfugil commented May 12, 2024

Describe the issue
Custom arguments cannot be specified in JSON format because UTM eats the quotes

Configuration

  • UTM Version: 4.5.2
  • macOS Version: 14.4.1
  • Mac Chip (Intel, M1, ...): M1 Pro

Try to specify any custom JSON arguments such as

-blockdev
{"driver":"file","filename":"/Users/nick/Library/Containers/com.utmapp.UTM/Data/Documents/Debian loong64.utm/Data/edk2-loongarch64-vars.fd","node-name":"libvirt-pflash0-storage","auto-read-only":false,"discard":"unmap"}
-blockdev
{"node-name":"libvirt-pflash0-format","read-only":false,"driver":"raw","file":"libvirt-pflash0-storage"}

It will not work because UTM eats the quotes, with the json malformed error message suggesting that the quotes have been eaten.

@osy osy added this to the Future milestone May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants