// 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}]'
----
