Comments (1)
An alternative would be to move most or all of the driver-based validation into limayaml.Validate
.
The logic is already leaking into that function e.g. in #1951 in the code that selects the default vmType
based on all the other settings. So the knowledge about which settings are compatible with which driver already lives there. Moving the rest of the driver validation into the same function just consolidates all of it into a single place.
I understand that conceptually having a separate per-driver validation function is desirable if/when we ever support external (non-builtin) drivers, but we don't have them currently.
from lima.
Related Issues (20)
- Cannot Create OpenSUSE Tumbleweed Instance HOT 3
- Domains fail to resolve in "vz" VMs when TLD exists in hostResolver
- Simplify syntax for selecting images, with locations and digests HOT 4
- Simplify syntax for default mounts, read-only home + read-write tmp
- Compress the lima-guestagent in the installation directory HOT 9
- Rename config files and machine files HOT 5
- Unreliable permissions for lima with vz and writable virtiofs home directory mount HOT 1
- The QEMU-based VM registered with `limactl start-at-login` in `launchd` does not start. HOT 1
- chmod failed when `mountInotify` is enabled HOT 1
- chmod failed when `mountInotify` is enabled HOT 5
- lima examples missing image HOT 1
- [hostagent] Driver stopped due to error: \"usernet unable to resolve IP for SSH forwarding\"
- Provide standard values "default" and "none" for most options HOT 1
- Cross-compiler for building "darwin" target HOT 5
- Failed to start VM when I want to modify PATH env var from env section in yaml template HOT 1
- Error: msg="did not receive an event with the \"running\" status" HOT 2
- Lima VM will randomly lose network connectivity HOT 5
- v0.23.0 planning HOT 1
- Inconsistent {{.Home}} and {{.User}} values between guest and host templates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lima.