You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/virt-hot-plugging-bridge-network-interface-cli.adoc
+4-14Lines changed: 4 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,14 @@ Hot plug a secondary network interface to a virtual machine (VM) while the VM is
11
11
.Prerequisites
12
12
13
13
* 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.
14
15
* 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}.
16
18
17
19
.Procedure
18
20
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:
0 commit comments