Skip to content

Commit e96fc31

Browse files
authored
Merge pull request #97146 from sjhala-ccs/cnv-66175-4-18-cp
[enterprise-4.18] CNV-66175: Removed virtctl prereq and command from NIC hot plug proce…
2 parents eaf126a + e75f255 commit e96fc31

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

modules/virt-hot-plugging-bridge-network-interface-cli.adoc

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,14 @@ Hot plug a secondary network interface to a virtual machine (VM) while the VM is
1111
.Prerequisites
1212

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

19-
. If the VM to which you want to hot plug the network interface is not running, start it by using the following command:
20-
+
21-
[source,terminal]
22-
----
23-
$ virtctl start <vm_name> -n <namespace>
24-
----
25-
26-
. 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.
27-
+
28-
[source,terminal]
29-
----
30-
$ oc edit vm <vm_name>
31-
----
21+
. Use your preferred text editor to edit the `VirtualMachine` manifest, as shown in the following example:
3222
+
3323
.Example VM configuration
3424
[source,yaml]

0 commit comments

Comments
 (0)