bfg-common 1.3.374 → 1.3.376
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/common/vm/actions/common/customizeHardware/lib/config/navItems.ts +2 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +114 -110
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +188 -184
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +72 -68
- package/components/common/wizards/vm/migrate/select/storage/lib/config/tabsPannel.ts +2 -0
- package/components/common/wizards/vm/migrate/select/storage/table/datastore/lib/config/config.ts +13 -13
- package/package.json +1 -1
- package/public/spice-console/network/spicechannel.js +5 -5
- package/public/spice-console-minify/run.min.js +1 -1
|
@@ -9,11 +9,13 @@ export const navItemsFunc = (
|
|
|
9
9
|
text: localization.virtualHardware,
|
|
10
10
|
value: 0,
|
|
11
11
|
disabled: false,
|
|
12
|
+
testId: 'virtual-hardware'
|
|
12
13
|
},
|
|
13
14
|
{
|
|
14
15
|
text: localization.vMOptions,
|
|
15
16
|
value: 1,
|
|
16
17
|
disabled: false,
|
|
18
|
+
testId: 'vm-options'
|
|
17
19
|
},
|
|
18
20
|
]
|
|
19
21
|
}
|
package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue
CHANGED
|
@@ -1,110 +1,114 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="boot-options">
|
|
3
|
-
<atoms-stack-block :has-children="true">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
<div
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/>
|
|
20
|
-
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-
|
|
21
|
-
v-
|
|
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
|
-
const
|
|
77
|
-
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
const
|
|
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
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="boot-options">
|
|
3
|
+
<atoms-stack-block :has-children="true">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
<div
|
|
6
|
+
id="vm-wizard-toggle-block-boot-option"
|
|
7
|
+
data-id="vm-wizard-toggle-block-boot-option"
|
|
8
|
+
class="flex-align-center"
|
|
9
|
+
>
|
|
10
|
+
<span>{{ localization.bootOptions }}</span>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<template #stackChildren>
|
|
14
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-firmware
|
|
15
|
+
v-model:firmware="firmware"
|
|
16
|
+
:error-validation-fields="props.errorValidationFields"
|
|
17
|
+
:is-edit="props.isEdit"
|
|
18
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
19
|
+
/>
|
|
20
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-secure
|
|
21
|
+
v-if="firmware === 'uefi'"
|
|
22
|
+
v-model:secure-boot="secureBoot"
|
|
23
|
+
/>
|
|
24
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-menu
|
|
25
|
+
v-model:boot-menu="bootMenu"
|
|
26
|
+
/>
|
|
27
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-delay
|
|
28
|
+
v-model:boot-delay="bootDelay"
|
|
29
|
+
/>
|
|
30
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-order
|
|
31
|
+
:hard-disks="props.hardDisks"
|
|
32
|
+
:cd-dvd-drives="props.cdDvdDrives"
|
|
33
|
+
:networks="props.networks"
|
|
34
|
+
@change="onChangeBootOrder"
|
|
35
|
+
/>
|
|
36
|
+
</template>
|
|
37
|
+
</atoms-stack-block>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script setup lang="ts">
|
|
42
|
+
import { UI_I_SendDataBootOptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
|
|
43
|
+
import {
|
|
44
|
+
UI_I_SendDataNewCdDvdDrive,
|
|
45
|
+
UI_I_SendDataNewHardDisk,
|
|
46
|
+
UI_I_SendDataNewNetwork,
|
|
47
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
48
|
+
import { UI_I_Localization } from '~/lib/models/interfaces'
|
|
49
|
+
import { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
50
|
+
import { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/lib/models/types'
|
|
51
|
+
|
|
52
|
+
const emits = defineEmits<{
|
|
53
|
+
(
|
|
54
|
+
event: 'change-boot-order',
|
|
55
|
+
value: [
|
|
56
|
+
UI_I_SendDataNewHardDisk[],
|
|
57
|
+
UI_I_SendDataNewCdDvdDrive[],
|
|
58
|
+
UI_I_SendDataNewNetwork[]
|
|
59
|
+
]
|
|
60
|
+
): void
|
|
61
|
+
(event: 'send-data', value: UI_I_SendDataBootOptions): void
|
|
62
|
+
(event: 'remove-error-by-title', value: string): void
|
|
63
|
+
}>()
|
|
64
|
+
|
|
65
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
66
|
+
|
|
67
|
+
const props = defineProps<{
|
|
68
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
69
|
+
hardDisks: UI_I_SendDataNewHardDisk[] | null
|
|
70
|
+
cdDvdDrives: UI_I_SendDataNewCdDvdDrive[] | null
|
|
71
|
+
networks: UI_I_SendDataNewNetwork[] | null
|
|
72
|
+
bootOptions?: UI_I_SendDataBootOptions
|
|
73
|
+
isEdit: boolean
|
|
74
|
+
}>()
|
|
75
|
+
|
|
76
|
+
const firmware = ref<string>('efi')
|
|
77
|
+
|
|
78
|
+
const secureBoot = ref<boolean>(true)
|
|
79
|
+
|
|
80
|
+
const bootMenu = ref<boolean>(true)
|
|
81
|
+
|
|
82
|
+
const bootDelay = ref<number>(1000)
|
|
83
|
+
|
|
84
|
+
const onChangeBootOrder = (data: UI_T_ChangeBootOrder): void => {
|
|
85
|
+
emits('change-boot-order', data)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
watch(
|
|
89
|
+
[firmware, secureBoot, bootMenu, bootDelay],
|
|
90
|
+
() => {
|
|
91
|
+
emits('send-data', {
|
|
92
|
+
firmware: firmware.value,
|
|
93
|
+
boot_delay_ms: bootDelay.value,
|
|
94
|
+
boot_menu: bootMenu.value,
|
|
95
|
+
})
|
|
96
|
+
},
|
|
97
|
+
{ immediate: true }
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
// Добавляем данные для редактирования
|
|
101
|
+
watch(
|
|
102
|
+
() => props.bootOptions,
|
|
103
|
+
(newValue) => {
|
|
104
|
+
if (!newValue || !props.bootOptions) return
|
|
105
|
+
|
|
106
|
+
firmware.value = props.bootOptions.firmware
|
|
107
|
+
bootDelay.value = props.bootOptions.boot_delay_ms
|
|
108
|
+
bootMenu.value = props.bootOptions.boot_menu
|
|
109
|
+
},
|
|
110
|
+
{ immediate: true }
|
|
111
|
+
)
|
|
112
|
+
</script>
|
|
113
|
+
|
|
114
|
+
<style scoped lang="scss"></style>
|
|
@@ -1,184 +1,188 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="general-options">
|
|
3
|
-
<atoms-stack-block :has-children="true" @toggle="blockIsOpen = $event">
|
|
4
|
-
<template #stackBlockKey>
|
|
5
|
-
<div
|
|
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
|
-
const
|
|
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
|
-
const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="general-options">
|
|
3
|
+
<atoms-stack-block :has-children="true" @toggle="blockIsOpen = $event">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
<div
|
|
6
|
+
id="vm-wizard-toggle-block-general-options"
|
|
7
|
+
data-id="vm-wizard-toggle-block-general-options"
|
|
8
|
+
class="flex-align-center"
|
|
9
|
+
>
|
|
10
|
+
<span>{{ localization.generalOptions }}</span>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<template #stackBlockContent>
|
|
14
|
+
<div v-show="!blockIsOpen">
|
|
15
|
+
{{ localization.vmName }}: {{ vmNameLocal }}
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
<template #stackChildren>
|
|
19
|
+
<atoms-stack-block :has-children="false">
|
|
20
|
+
<template #stackBlockKey>
|
|
21
|
+
{{ localization.vmName }}
|
|
22
|
+
</template>
|
|
23
|
+
<template #stackBlockContent>
|
|
24
|
+
<span>{{ vmNameLocal }}</span>
|
|
25
|
+
<!-- <span v-if="!props.isEdit">{{ vmNameLocal }}</span>-->
|
|
26
|
+
<!-- <input-->
|
|
27
|
+
<!-- v-else-->
|
|
28
|
+
<!-- id="general-option-vm-name"-->
|
|
29
|
+
<!-- v-models="vmNameLocal"-->
|
|
30
|
+
<!-- type="text"-->
|
|
31
|
+
<!-- />-->
|
|
32
|
+
</template>
|
|
33
|
+
</atoms-stack-block>
|
|
34
|
+
|
|
35
|
+
<atoms-stack-block :has-children="false">
|
|
36
|
+
<template #stackBlockKey>
|
|
37
|
+
{{ localization.machineType }}
|
|
38
|
+
</template>
|
|
39
|
+
<template #stackBlockContent>
|
|
40
|
+
<select
|
|
41
|
+
v-if="props.guestMachineType"
|
|
42
|
+
id="guest-machine-type-select"
|
|
43
|
+
v-model="guestMachineTypeLocal"
|
|
44
|
+
:disabled="isDisabled"
|
|
45
|
+
data-id="guest-machine-type-select"
|
|
46
|
+
>
|
|
47
|
+
<option
|
|
48
|
+
v-for="item in machineTypeOptions"
|
|
49
|
+
:key="item.value"
|
|
50
|
+
:value="item"
|
|
51
|
+
>
|
|
52
|
+
{{ item.text }}
|
|
53
|
+
</option>
|
|
54
|
+
</select>
|
|
55
|
+
</template>
|
|
56
|
+
</atoms-stack-block>
|
|
57
|
+
|
|
58
|
+
<atoms-stack-block :has-children="false">
|
|
59
|
+
<template #stackBlockKey>
|
|
60
|
+
{{ localization.guestOsFamily }}
|
|
61
|
+
</template>
|
|
62
|
+
<template #stackBlockContent>
|
|
63
|
+
<select
|
|
64
|
+
v-if="props.guestOsFamily"
|
|
65
|
+
id="guest-os-family-select"
|
|
66
|
+
v-model="guestOsFamilyLocal"
|
|
67
|
+
data-id="guest-os-family-select"
|
|
68
|
+
:disabled="isDisabled"
|
|
69
|
+
@change="onChangeOS"
|
|
70
|
+
>
|
|
71
|
+
<option v-for="item in osOptions" :key="item.value" :value="item">
|
|
72
|
+
{{ item.text }}
|
|
73
|
+
</option>
|
|
74
|
+
</select>
|
|
75
|
+
</template>
|
|
76
|
+
</atoms-stack-block>
|
|
77
|
+
|
|
78
|
+
<atoms-stack-block :has-children="false">
|
|
79
|
+
<template #stackBlockKey>
|
|
80
|
+
{{ localization.guestOsVersion }}
|
|
81
|
+
</template>
|
|
82
|
+
<template #stackBlockContent>
|
|
83
|
+
<select
|
|
84
|
+
v-if="props.guestOsVersion"
|
|
85
|
+
id="guest-os-version-select"
|
|
86
|
+
v-model="guestOsVersionLocal"
|
|
87
|
+
data-id="guest-os-version-select"
|
|
88
|
+
:disabled="isDisabled"
|
|
89
|
+
>
|
|
90
|
+
<option
|
|
91
|
+
v-for="item in versionsOptions"
|
|
92
|
+
:key="item.value"
|
|
93
|
+
:value="item"
|
|
94
|
+
>
|
|
95
|
+
{{ item.text }}
|
|
96
|
+
</option>
|
|
97
|
+
</select>
|
|
98
|
+
</template>
|
|
99
|
+
</atoms-stack-block>
|
|
100
|
+
</template>
|
|
101
|
+
</atoms-stack-block>
|
|
102
|
+
</div>
|
|
103
|
+
</template>
|
|
104
|
+
|
|
105
|
+
<script setup lang="ts">
|
|
106
|
+
import { UI_I_Localization } from '~/lib/models/interfaces'
|
|
107
|
+
import { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
108
|
+
import { capabilities } from '~/components/common/vm/actions/common/lib/config/capabilities'
|
|
109
|
+
|
|
110
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
111
|
+
|
|
112
|
+
const props = defineProps<{
|
|
113
|
+
vmName: string
|
|
114
|
+
guestMachineType: UI_I_OptionItem | null
|
|
115
|
+
guestOsFamily: UI_I_OptionItem | null
|
|
116
|
+
guestOsVersion: UI_I_OptionItem | null
|
|
117
|
+
isEdit: boolean
|
|
118
|
+
isClone: boolean
|
|
119
|
+
state?: string | number
|
|
120
|
+
}>()
|
|
121
|
+
const emits = defineEmits<{
|
|
122
|
+
(event: 'update:vm-name', value: string): void
|
|
123
|
+
(event: 'update:guest-machine-type', value: UI_I_OptionItem | null): void
|
|
124
|
+
(event: 'update:guest-os-family', value: UI_I_OptionItem | null): void
|
|
125
|
+
(event: 'update:guest-os-version', value: UI_I_OptionItem | null): void
|
|
126
|
+
}>()
|
|
127
|
+
|
|
128
|
+
const isDisabled = computed<boolean>(
|
|
129
|
+
() => (!props.isEdit && !props.isClone) || (props.isEdit && props.state !== 1)
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
const vmNameLocal = computed<string>({
|
|
133
|
+
get() {
|
|
134
|
+
return props.vmName
|
|
135
|
+
},
|
|
136
|
+
set(newValue) {
|
|
137
|
+
emits('update:vm-name', newValue)
|
|
138
|
+
},
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
const guestMachineTypeLocal = computed<UI_I_OptionItem | null>({
|
|
142
|
+
get() {
|
|
143
|
+
return props.guestMachineType
|
|
144
|
+
},
|
|
145
|
+
set(newValue) {
|
|
146
|
+
emits('update:guest-machine-type', newValue)
|
|
147
|
+
},
|
|
148
|
+
})
|
|
149
|
+
const machineTypeOptions = ref<UI_I_OptionItem[]>(capabilities.machineTypes)
|
|
150
|
+
|
|
151
|
+
const guestOsFamilyLocal = computed<UI_I_OptionItem | null>({
|
|
152
|
+
get() {
|
|
153
|
+
return props.guestOsFamily
|
|
154
|
+
},
|
|
155
|
+
set(newValue) {
|
|
156
|
+
emits('update:guest-os-family', newValue)
|
|
157
|
+
},
|
|
158
|
+
})
|
|
159
|
+
const osOptions = ref<UI_I_OptionItem[]>(capabilities.guestOsFamilies)
|
|
160
|
+
const onChangeOS = (): void => {
|
|
161
|
+
guestOsVersionLocal.value = versionsOptions.value[0]
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const guestOsVersionLocal = computed<UI_I_OptionItem | null>({
|
|
165
|
+
get() {
|
|
166
|
+
return props.guestOsVersion
|
|
167
|
+
},
|
|
168
|
+
set(newValue) {
|
|
169
|
+
emits('update:guest-os-version', newValue)
|
|
170
|
+
},
|
|
171
|
+
})
|
|
172
|
+
const versionsOptions = computed<UI_I_OptionItem[]>(() => {
|
|
173
|
+
if (!guestOsFamilyLocal.value) return []
|
|
174
|
+
|
|
175
|
+
return capabilities.guestOsVersions[guestOsFamilyLocal.value.value] || []
|
|
176
|
+
})
|
|
177
|
+
watch(
|
|
178
|
+
versionsOptions,
|
|
179
|
+
() => {
|
|
180
|
+
guestOsVersionLocal.value = versionsOptions.value[0]
|
|
181
|
+
}
|
|
182
|
+
// { immediate: true }
|
|
183
|
+
)
|
|
184
|
+
|
|
185
|
+
const blockIsOpen = ref<boolean>(false)
|
|
186
|
+
</script>
|
|
187
|
+
|
|
188
|
+
<style scoped lang="scss"></style>
|