File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ func modifyInPlace(st *creatorState) error {
280
280
if st .yq == "" {
281
281
return nil
282
282
}
283
+ logrus .Warn ("`--set` is experimental" )
283
284
out , err := yqutil .EvaluateExpression (st .yq , st .yBytes )
284
285
if err != nil {
285
286
return err
Original file line number Diff line number Diff line change @@ -270,6 +270,9 @@ func Validate(y LimaYAML, warn bool) error {
270
270
if err := validateNetwork (y , warn ); err != nil {
271
271
return err
272
272
}
273
+ if warn {
274
+ warnExperimental (y )
275
+ }
273
276
return nil
274
277
}
275
278
@@ -414,3 +417,18 @@ func validatePort(field string, port int) error {
414
417
}
415
418
return nil
416
419
}
420
+
421
+ func warnExperimental (y LimaYAML ) {
422
+ if * y .MountType == NINEP {
423
+ logrus .Warn ("`mountType: 9p` is experimental" )
424
+ }
425
+ if * y .VMType == VZ {
426
+ logrus .Warn ("`vmType: vz` is experimental" )
427
+ }
428
+ if * y .Arch == RISCV64 {
429
+ logrus .Warn ("`arch: riscv64` is experimental" )
430
+ }
431
+ if y .Video .Display != nil && strings .Contains (* y .Video .Display , "vnc" ) {
432
+ logrus .Warn ("`video.display: vnc` is experimental" )
433
+ }
434
+ }
You can’t perform that action at this time.
0 commit comments