Skip to content

Commit 1a5e0d3

Browse files
authored
Merge pull request #97145 from sjhala-ccs/cnv-66175-4-19-cp
[enterprise-4.19] CNV-66175: Removed virtctl prereq and command from NIC hot plug proce…
2 parents 407675a + d8a4bd0 commit 1a5e0d3

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

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

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +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`).
1616
* You have permission to create and list `VirtualMachineInstanceMigration` objects.
17+
* You have installed the {oc-first}.
1718
1819
.Procedure
1920

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

0 commit comments

Comments
 (0)