Skip to content

[enterprise-4.19] CNV-66175: Removed virtctl prereq and command from NIC hot plug proce… #97145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions modules/virt-hot-plugging-bridge-network-interface-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,14 @@ Hot plug a secondary network interface to a virtual machine (VM) while the VM is
.Prerequisites

* A network attachment definition is configured in the same namespace as your VM.
* The VM to which you want to hot plug the network interface is running.
* You have installed the `virtctl` tool.
* You have installed the OpenShift CLI (`oc`).
* You have permission to create and list `VirtualMachineInstanceMigration` objects.
* You have installed the {oc-first}.

.Procedure

. If the VM to which you want to hot plug the network interface is not running, start it by using the following command:
+
[source,terminal]
----
$ virtctl start <vm_name> -n <namespace>
----

. Use the following command to add the new network interface to the running VM. Editing the VM specification adds the new network interface to the VM and virtual machine instance (VMI) configuration but does not attach it to the running VM.
+
[source,terminal]
----
$ oc edit vm <vm_name>
----
. Use your preferred text editor to edit the `VirtualMachine` manifest, as shown in the following example:
+
.Example VM configuration
[source,yaml]
Expand Down