@@ -73,8 +73,9 @@ func (l *LimaVzDriver) Validate() error {
73
73
"AdditionalDisks" ,
74
74
"Audio" ,
75
75
"Video" ,
76
+ "OS" ,
76
77
); len (unknown ) > 0 {
77
- logrus .Warnf ("Ignoring: vmType %s: %+v" , * l .Yaml .VMType , unknown )
78
+ logrus .Warnf ("vmType %s: ignoring %+v" , * l .Yaml .VMType , unknown )
78
79
}
79
80
80
81
if ! limayaml .IsNativeArch (* l .Yaml .Arch ) {
@@ -83,13 +84,13 @@ func (l *LimaVzDriver) Validate() error {
83
84
84
85
for k , v := range l .Yaml .CPUType {
85
86
if v != "" {
86
- logrus .Warnf ("Ignoring: vmType %s: cpuType[%q]: %q" , * l .Yaml .VMType , k , v )
87
+ logrus .Warnf ("vmType %s: ignoring cpuType[%q]: %q" , * l .Yaml .VMType , k , v )
87
88
}
88
89
}
89
90
90
91
for i , image := range l .Yaml .Images {
91
92
if unknown := reflectutil .UnknownNonEmptyFields (image , "File" ); len (unknown ) > 0 {
92
- logrus .Warnf ("Ignoring: vmType %s: images[%d]: %+v" , * l .Yaml .VMType , i , unknown )
93
+ logrus .Warnf ("vmType %s: ignoring images[%d]: %+v" , * l .Yaml .VMType , i , unknown )
93
94
}
94
95
}
95
96
@@ -100,7 +101,7 @@ func (l *LimaVzDriver) Validate() error {
100
101
"SSHFS" ,
101
102
"NineP" ,
102
103
); len (unknown ) > 0 {
103
- logrus .Warnf ("Ignoring: vmType %s: mounts[%d]: %+v" , * l .Yaml .VMType , i , unknown )
104
+ logrus .Warnf ("vmType %s: ignoring mounts[%d]: %+v" , * l .Yaml .VMType , i , unknown )
104
105
}
105
106
}
106
107
@@ -111,7 +112,7 @@ func (l *LimaVzDriver) Validate() error {
111
112
"MACAddress" ,
112
113
"Interface" ,
113
114
); len (unknown ) > 0 {
114
- logrus .Warnf ("Ignoring: vmType %s: networks[%d]: %+v" , * l .Yaml .VMType , i , unknown )
115
+ logrus .Warnf ("vmType %s: ignoring networks[%d]: %+v" , * l .Yaml .VMType , i , unknown )
115
116
}
116
117
}
117
118
0 commit comments