Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unmarshal additional disks (#613)
Issue #, if available: *Description of changes:* disks in the list format in lima override.yaml were not being unmarshalled properly, causing a disk with the name "" to be mixed with finch lima yaml, resulting in startup failure. This only occurs on inits of a vm other than the very first init. init a vm the first time, _output/lima/data/_config/override.yaml: ```yaml additionalDisks: - name: finch ``` stop and remove the vm, then re-init: ```yaml additionalDisks: - name: "" - name: finch ``` to fix, copy upstream logic from lima to use a custom unmarshaler for the Disk type. *Testing done:* `make test-unit` manual testing - [x] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Gavin Inglis <[email protected]>
- Loading branch information