mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
29 lines
953 B
Plaintext
29 lines
953 B
Plaintext
// Module included in the following assembly:
|
|
//
|
|
// * virt/virtual_machines/advanced_vm_management/virt-automatic-bootsource-updates.adoc
|
|
//
|
|
|
|
:_content-type: PROCEDURE
|
|
[id="virt-disabling-bootsource-update_{context}"]
|
|
= Disabling automatic boot source updates
|
|
|
|
Disabling automatic boot source imports and updates can be helpful to reduce the number of logs in disconnected environments or to reduce resource usage.
|
|
|
|
To disable automatic boot source imports and updates, set the `spec.featureGates.enableCommonBootImageImport` field in the `HyperConverged` custom resource (CR) to `false`.
|
|
|
|
[NOTE]
|
|
====
|
|
User-defined boot sources are not affected by this setting.
|
|
====
|
|
|
|
.Procedure
|
|
|
|
* Use the following command to disable automatic boot source updates:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc patch hco kubevirt-hyperconverged -n openshift-cnv \
|
|
--type json -p '[{"op": "replace", "path": "/spec/featureGates/enableCommonBootImageImport", \
|
|
"value": false}]'
|
|
----
|