/
osinfo-defaults.properties
438 lines (380 loc) · 17.1 KB
/
osinfo-defaults.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
# 00-os.properties
#
# ATTENTION: DO NOT MODIFY THIS FILE.
#
# CREATE YOUR OWN CONFIGURATION OVERRIDING DEFAULTS WITHIN THIS FILE.
#
# ----------------------------------------------------------------------------------
#
# This is a default configuration file for provisioning the engine OSs. Its features:
#
# * Value versions -
# values can be different per compatibility versions;
# os.RHEL6.key.value = foo // a general version value
# os.RHEL6.key.value.3.2 = bar // 3.2 compatibility version value
#
# * value overriding -
# Supports versions of configuration through file prefix
# e.g - all or some entries in this file can be overridden by entries in
# 10-osinfo.properties
#
# * Inheritance -
# Specify the 'derivedFrom' key and the os id to inherit all its values except id.
#
# * I18N -
# This file is also loaded as a String Bundle so name and description can
# contain non-ASCII values.
# This file is the default en-us locale while loading 10-osinfo_he-il.properties
# will contain Hebrew locale values e.g os.other_linux.name.value = לינוקס
#
# for compatibility reasons and convenience an OS has an id.
# note: every OS has a unique namespace for the native unique representation of the data.
# i.e os.RHEL6.somekey = val belongs only to rhel6
# Both engine and DWH rely on id value and not the os.{osid).*
os.other.id.value = 0
# name is I18N if the one creates a 01-os_${LOCALE}.properties with the co-responding name property
os.other.name.value = Other OS
# OS family values: Linux/Windows/other
os.other.family.value = other
# CPU architecture (*not* the bus width 64/32 bit). Currently only x86_64 is supported
# but ppc7 is a work in progress and possibly arm someday as well
os.other.cpuArchitecture.value = x86_64
os.other.bus.value = 64
os.other.resources.minimum.ram.value = 256
os.other.resources.maximum.ram.value = 65536
os.other.resources.minimum.disksize.value = 1
os.other.cpu.hotplugSupport.value = true
os.other.cpu.hotunplugSupport.value = false
os.other.devices.display.protocols.value = spice/qxl,vnc/vga,vnc/qxl,vnc/cirrus
os.other.devices.display.protocols.value.3.6 = spice/qxl,vnc/cirrus,vnc/qxl
os.other.devices.watchdog.models.value = i6300esb
os.other.devices.usb.controller.value = piix3-uhci
os.other.devices.disk.hotpluggableInterfaces.value = VirtIO_SCSI, VirtIO
os.other.devices.disk.hotpluggableInterfaces.value.3.0 =
os.other.devices.balloon.enabled.value = true
os.other.devices.audio.value = ich6
os.other.devices.audio.enabled.value = true
# See VmInterfaceType.java
os.other.devices.network.value = rtl8139, e1000, pv, pciPassthrough
os.other.devices.network.hotplugSupport.value = true
os.other.devices.network.hotplugSupport.value.3.0 = false
os.other.devices.cdInterface.value = ide,q35/sata
os.other.devices.diskInterfaces.value = IDE, VirtIO_SCSI, VirtIO
os.other.devices.diskInterfaces.value.3.0 = IDE, VirtIO
os.other.devices.diskInterfaces.value.3.1 = IDE, VirtIO
os.other.devices.diskInterfaces.value.3.2 = IDE, VirtIO
os.other.devices.floppy.support.value = true
# 26 PCI slots: 31 total minus 5 saved for qemu (Host Bridge, ISA Bridge,
# IDE, Agent, ACPI)
os.other.devices.maxPciDevices.value = 26
# comma separated list of unsupported CPUs by this guest operating system
# corresponds to the value in vdc_config:ServerCPUList
os.other.cpu.unsupported.value =
# otherLinux(5, OsType.Linux, false),
os.other_linux.id.value = 5
os.other_linux.name.value = Linux
os.other_linux.derivedFrom.value = other
os.other_linux.description.value = General GNU/Linux
os.other_linux.family.value = linux
os.other_linux.cpu.hotunplugSupport.value = true
# rhel3(9, OsType.Linux, false),
os.rhel_3.id.value = 9
os.rhel_3.bus.value = 32
os.rhel_3.name.value = Red Hat Enterprise Linux 3.x
os.rhel_3.derivedFrom.value = other_linux
os.rhel_3.devices.audio.value = ac97
os.rhel_3.devices.diskInterfaces.value = IDE, VirtIO
# rhel3x64(15, OsType.Linux, true),
os.rhel_3x64.id.value = 15
os.rhel_3x64.name.value = Red Hat Enterprise Linux 3.x x64
os.rhel_3x64.derivedFrom.value = other_linux
os.rhel_3x64.devices.audio.value = ac97
os.rhel_3x64.devices.diskInterfaces.value = IDE, VirtIO
os.rhel_3x64.resources.maximum.ram.value = 131072
# rhel4(8, OsType.Linux, false),
os.rhel_4.id.value = 8
os.rhel_4.name.value = Red Hat Enterprise Linux 4.x
os.rhel_4.derivedFrom.value = rhel_3
# RHEL4x64(14, OsType.Linux, true),
os.rhel_4x64.id.value = 14
os.rhel_4x64.name.value = Red Hat Enterprise Linux 4.x x64
os.rhel_4x64.derivedFrom.value = rhel_3x64
os.rhel_4x64.resources.maximum.ram.value = 262144
# rhel5(7, OsType.Linux, false),
os.rhel_5.id.value = 7
os.rhel_5.name.value = Red Hat Enterprise Linux 5.x
os.rhel_5.derivedFrom.value = rhel_4
# rhel_5x64(13, OsType.Linux, true),
os.rhel_5x64.id.value = 13
os.rhel_5x64.name.value = Red Hat Enterprise Linux 5.x x64
os.rhel_5x64.derivedFrom.value = rhel_4x64
os.rhel_5x64.resources.maximum.ram.value = 1048576
# rhel6(18, OsType.Linux, false),
os.rhel_6.id.value = 18
os.rhel_6.name.value = Red Hat Enterprise Linux 6.x
os.rhel_6.derivedFrom.value = rhel_5
os.rhel_6.devices.audio.value = ich6
os.rhel_6.devices.diskInterfaces.value = IDE, VirtIO_SCSI, VirtIO
os.rhel_6.devices.diskInterfaces.value.3.0 = IDE, VirtIO
os.rhel_6.devices.diskInterfaces.value.3.1 = IDE, VirtIO
os.rhel_6.devices.diskInterfaces.value.3.2 = IDE, VirtIO
# rhel6x64(19, OsType.Linux, true),
os.rhel_6x64.id.value = 19
os.rhel_6x64.name.value = Red Hat Enterprise Linux 6.x x64
os.rhel_6x64.derivedFrom.value = rhel_5x64
os.rhel_6x64.devices.audio.value = ich6
os.rhel_6x64.devices.diskInterfaces.value = IDE, VirtIO_SCSI, VirtIO
os.rhel_6x64.devices.diskInterfaces.value.3.0 = IDE, VirtIO
os.rhel_6x64.devices.diskInterfaces.value.3.1 = IDE, VirtIO
os.rhel_6x64.devices.diskInterfaces.value.3.2 = IDE, VirtIO
os.rhel_6x64.resources.maximum.ram.value = 3145728
os.rhel_7x64.id.value = 24
os.rhel_7x64.name.value = Red Hat Enterprise Linux 7.x x64
os.rhel_7x64.derivedFrom.value = rhel_6x64
os.rhel_7x64.devices.display.vramMultiplier.value = 2
os.rhel_atomic7x64.id.value = 28
os.rhel_atomic7x64.name.value = Red Hat Atomic 7.x x64
os.rhel_atomic7x64.derivedFrom.value = rhel_7x64
# WindowsXP(1, OsType.Windows, false),
os.windows_xp.id.value = 1
os.windows_xp.bus.value = 32
os.windows_xp.name.value = Windows XP
os.windows_xp.derivedFrom.value = other
os.windows_xp.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.xp
os.windows_xp.sysprepFileName.value = sysprep.inf
os.windows_xp.productKey.value =
os.windows_xp.isTimezoneTypeInteger.value = true
os.windows_xp.devices.network.value = rtl8139_pv, rtl8139, e1000, pv, pciPassthrough
os.windows_xp.devices.audio.value = ac97
os.windows_xp.devices.diskInterfaces.value = IDE, VirtIO
os.windows_xp.family.value = windows
os.windows_xp.devices.hyperv.enabled.value = true
# Windows2003(3, OsType.Windows, false),
os.windows_2003.id.value = 3
os.windows_2003.name.value = Windows 2003
os.windows_2003.derivedFrom.value = windows_xp
os.windows_2003.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k3
os.windows_2003.productKey.value =
os.windows_2003.isTimezoneTypeInteger.value = true
os.windows_2003.devices.audio.value = ac97
os.windows_2003.devices.diskInterfaces.value = IDE, VirtIO_SCSI, VirtIO
os.windows_2003.devices.diskInterfaces.value.3.0 = IDE, VirtIO
os.windows_2003.devices.diskInterfaces.value.3.1 = IDE, VirtIO
os.windows_2003.devices.diskInterfaces.value.3.2 = IDE, VirtIO
# Windows2008(4, OsType.Windows, false),
os.windows_2008.id.value = 4
os.windows_2008.name.value = Windows 2008
os.windows_2008.derivedFrom.value = windows_2003
os.windows_2008.sysprepFileName.value = Unattend.xml
os.windows_2008.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k8
os.windows_2008.productKey.value =
os.windows_2008.isTimezoneTypeInteger.value = false
# Windows2003x64(10, OsType.Windows, true),
os.windows_2003x64.id.value = 10
os.windows_2003x64.name.value = Windows 2003 x64
os.windows_2003x64.derivedFrom.value = windows_2003
os.windows_2003x64.bus.value = 64
os.windows_2003x64.resources.minimum.ram.value = 1024
os.windows_2003x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k3
os.windows_2003x64.productKey.value =
os.windows_2003x64.isTimezoneTypeInteger.value = true
os.windows_2003x64.resources.maximum.ram.value = 1048576
# Windows7(11, OsType.Windows, false),false
os.windows_7.id.value = 11
os.windows_7.name.value = Windows 7
os.windows_7.derivedFrom.value = windows_xp
os.windows_7.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w7
os.windows_7.sysprepFileName.value = Unattend.xml
os.windows_7.productKey.value =
os.windows_7.devices.audio.value = ich6
os.windows_7.devices.diskInterfaces.value = IDE, VirtIO_SCSI, VirtIO
os.windows_7.devices.diskInterfaces.value.3.0 = IDE, VirtIO
os.windows_7.devices.diskInterfaces.value.3.1 = IDE, VirtIO
os.windows_7.devices.diskInterfaces.value.3.2 = IDE, VirtIO
os.windows_7.isTimezoneTypeInteger.value = false
# Windows7x64(12, OsType.Windows, true),
os.windows_7x64.id.value = 12
os.windows_7x64.name.value = Windows 7 x64
os.windows_7x64.bus.value = 64
os.windows_7x64.derivedFrom.value = windows_7
os.windows_7x64.resources.minimum.ram.value = 1024
os.windows_7x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w7x64
os.windows_7x64.productKey.value =
os.windows_7x64.resources.maximum.ram.value = 196608
# Windows2008x64(16, OsType.Windows, true),
os.windows_2008x64.id.value = 16
os.windows_2008x64.name.value = Windows 2008 x64
os.windows_2008x64.derivedFrom.value = windows_2003x64
os.windows_2008x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k8x64
os.windows_2008x64.sysprepFileName.value = Unattend.xml
os.windows_2008x64.productKey.value =
os.windows_2008x64.devices.audio.value = ich6
os.windows_2008x64.isTimezoneTypeInteger.value = false
# os.Windows2008R2x64.derivedFrom.value = windows2008
os.windows_2008R2x64.id.value = 17
os.windows_2008R2x64.name.value = Windows 2008 R2 x64
os.windows_2008R2x64.derivedFrom.value = windows_2008x64
os.windows_2008R2x64.productKey.value =
os.windows_2008R2x64.resources.maximum.ram.value = 2097152
# Windows8(20, OsType.Windows, false),
os.windows_8.id.value = 20
os.windows_8.name.value = Windows 8
os.windows_8.derivedFrom.value = windows_7
os.windows_8.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w8
os.windows_8.productKey.value =
os.windows_8.cpu.unsupported.value = conroe, opteron_g1
# Windows8x64(21, OsType.Windows, true),
os.windows_8x64.id.value = 21
os.windows_8x64.name.value = Windows 8 x64
os.windows_8x64.derivedFrom.value = windows_7x64
os.windows_8x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w8x64
os.windows_8x64.productKey.value =
os.windows_8x64.resources.maximum.ram.value = 524288
os.windows_8x64.cpu.unsupported.value = conroe, opteron_g1
os.windows_8x64.devices.hyperv.enabled.value.3.5 = false
# Windows2012x64(23, OsType.Windows, true);
os.windows_2012x64.id.value = 23
os.windows_2012x64.name.value = Windows 2012 x64
os.windows_2012x64.derivedFrom.value = windows_2008x64
os.windows_2012x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k12x64
os.windows_2012x64.productKey.value =
os.windows_2012x64.resources.maximum.ram.value = 4194304
os.windows_2012x64.cpu.unsupported.value = conroe, opteron_g1
os.windows_2012x64.devices.hyperv.enabled.value.3.5 = false
# Windows2012R2x64(25, OsType.Windows, true);
os.windows_2012R2x64.id.value = 25
os.windows_2012R2x64.name.value = Windows 2012R2 x64
os.windows_2012R2x64.derivedFrom.value = windows_2012x64
# Windows10
os.windows_10.id.value = 26
os.windows_10.name.value = Windows 10
os.windows_10.derivedFrom.value = windows_8
os.windows_10.productKey.value =
os.windows_10.cpu.unsupported.value = conroe, penryn, nehalem, opteron_g1
os.windows_10.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w10
# Windows10x64
os.windows_10x64.id.value = 27
os.windows_10x64.name.value = Windows 10 x64
os.windows_10x64.derivedFrom.value = windows_8x64
os.windows_10x64.productKey.value =
os.windows_10x64.resources.maximum.ram.value = 2097152
os.windows_10x64.cpu.unsupported.value = conroe, penryn, nehalem, opteron_g1
os.windows_10x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w10x64
# Windows2016x64(29, OsType.Windows, true);
os.windows_2016x64.id.value = 29
os.windows_2016x64.name.value = Windows 2016 x64
os.windows_2016x64.derivedFrom.value = windows_2012R2x64
os.windows_2016x64.cpu.unsupported.value = conroe, penryn, nehalem, opteron_g1
os.windows_2016x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k16x64
#Suse
os.sles_11.id.value = 1193
os.sles_11.name.value = SUSE Linux Enterprise Server 11
os.sles_11.derivedFrom.value = other_linux
#Ubuntu
os.ubuntu_12_04.id.value = 1252
os.ubuntu_12_04.name.value = Ubuntu Precise Pangolin LTS
os.ubuntu_12_04.derivedFrom.value = other_linux
os.ubuntu_12_04.resources.minimum.ram.value = 64
os.ubuntu_12_04.resources.minimum.disksize.value = 5120
os.ubuntu_12_10.id.value = 1253
os.ubuntu_12_10.name.value = Ubuntu Quantal Quetzal
os.ubuntu_12_10.derivedFrom.value = ubuntu_12_04
os.ubuntu_13_04.id.value = 1254
os.ubuntu_13_04.name.value = Ubuntu Raring Ringtails
os.ubuntu_13_04.derivedFrom.value = ubuntu_12_04
os.ubuntu_13_10.id.value = 1255
os.ubuntu_13_10.name.value = Ubuntu Saucy Salamander
os.ubuntu_13_10.derivedFrom.value = ubuntu_13_04
os.ubuntu_14_04.id.value = 1256
os.ubuntu_14_04.name.value = Ubuntu Trusty Tahr LTS
os.ubuntu_14_04.derivedFrom.value = ubuntu_13_10
#Debian
os.debian_7.id.value = 1300
os.debian_7.name.value = Debian 7
os.debian_7.derivedFrom.value = ubuntu_12_04
#FreeBSD
os.freebsd.id.value = 1500
os.freebsd.bus.value = 32
os.freebsd.name.value = FreeBSD 9.2
os.freebsd.derivedFrom.value = other
os.freebsdx64.id.value = 1501
os.freebsdx64.name.value = FreeBSD 9.2 x64
os.freebsdx64.derivedFrom.value = freebsd
os.freebsdx64.bus.value = 64
# "Other OS" type to the ppc64 architecture
os.other_ppc64.id.value = 1001
os.other_ppc64.name.value = Other OS
os.other_ppc64.derivedFrom.value = other
os.other_ppc64.cpuArchitecture.value = ppc64
os.other_ppc64.cpu.hotplugSupport.value = false
os.other_ppc64.cpu.hotunplugSupport.value = false
os.other_ppc64.devices.audio.enabled.value = false
os.other_ppc64.devices.network.value = pv, spaprVlan, pciPassthrough
os.other_ppc64.devices.cdInterface.value = scsi
os.other_ppc64.devices.balloon.enabled.value = true
os.other_ppc64.devices.balloon.enabled.value.3.4 = false
os.other_ppc64.devices.diskInterfaces.value = VirtIO, VirtIO_SCSI, SPAPR_VSCSI
os.other_ppc64.devices.disk.hotpluggableInterfaces.value = VirtIO, VirtIO_SCSI, SPAPR_VSCSI
os.other_ppc64.devices.network.hotplugSupport.value = true
os.other_ppc64.devices.floppy.support.value = false
os.other_ppc64.devices.display.protocols.value = vnc/vga
os.other_ppc64.devices.display.protocols.value.3.6 = vnc/vga
os.other_ppc64.devices.watchdog.models.value = i6300esb
# In the ppc64 architecture there are only three devices occupying
# virtual PCI slots in a newly created VM, the USB controller,
# the VirtIO balloon and the VirtIO serial channel
os.other_ppc64.devices.maxPciDevices.value = 29
os.other_ppc64.devices.usb.controller.value = nec-xhci
# More OSes for ppc64
# otherLinuxppc64(1002, OsType.Linux, false),
os.other_linux_ppc64.id.value = 1002
os.other_linux_ppc64.name.value = Linux
os.other_linux_ppc64.derivedFrom.value = other_ppc64
os.other_linux_ppc64.description.value = General GNU/Linux
os.other_linux_ppc64.family.value = linux
# rhel6ppc64(1003, OsType.Linux, true),
os.rhel_6_ppc64.id.value = 1003
os.rhel_6_ppc64.name.value = Red Hat Enterprise Linux 6.x
os.rhel_6_ppc64.derivedFrom.value = other_linux_ppc64
# Suseppc64
os.sles_11_ppc64.id.value = 1004
os.sles_11_ppc64.name.value = SUSE Linux Enterprise Server 11
os.sles_11_ppc64.derivedFrom.value = other_linux_ppc64
os.sles_11_ppc64.devices.diskInterfaces.value = VirtIO, SPAPR_VSCSI
# Ubuntuppc64
os.ubuntu_14_04_ppc64.id.value = 1005
os.ubuntu_14_04_ppc64.name.value = Ubuntu Trusty Tahr LTS
os.ubuntu_14_04_ppc64.derivedFrom.value = other_linux_ppc64
os.ubuntu_14_04_ppc64.resources.minimum.ram.value = 64
os.ubuntu_14_04_ppc64.resources.minimum.disksize.value = 5120
# rhel7ppc64
os.rhel_7_ppc64.id.value = 1006
os.rhel_7_ppc64.name.value = Red Hat Enterprise Linux 7.x
os.rhel_7_ppc64.derivedFrom.value = rhel_6_ppc64
os.rhel_7_ppc64.cpu.hotplugSupport.value = true
os.rhel_7_ppc64.cpu.hotunplugSupport.value = true
# Backward Compatibility Section
# Keep a mapping of the old os unique names to new od IDs
# in order to support correct imports of pre-osinfo VMs
backwardCompatibility.Unassigned = 0
backwardCompatibility.Other = 0
backwardCompatibility.OtherLinux = 5
backwardCompatibility.REHL3 = 9
backwardCompatibility.RHEL3x64 = 15
backwardCompatibility.RHEL4 = 8
backwardCompatibility.RHEL4x64 = 14
backwardCompatibility.RHEL5 = 7
backwardCompatibility.RHEL5x64 = 13
backwardCompatibility.RHEL6 = 18
backwardCompatibility.RHEL6x64 = 19
backwardCompatibility.WindowsXP = 1
backwardCompatibility.Windows2003 = 3
backwardCompatibility.Windows2008 = 4
backwardCompatibility.Windows2003x64 = 10
backwardCompatibility.Windows7 = 11
backwardCompatibility.Windows7x64 = 12
backwardCompatibility.Windows2008x64 = 16
backwardCompatibility.Windows2008R2x64 = 17
backwardCompatibility.Windows8 = 20
backwardCompatibility.Windows8x64 = 21
backwardCompatibility.Windows2012x64 = 23