1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

CNV_3045 Add NIC to VM

This commit is contained in:
Bob Gaydos
2019-11-01 18:50:26 -04:00
committed by openshift-cherrypick-robot
parent 8931ce0c3c
commit c0885a28b2
3 changed files with 59 additions and 2 deletions

View File

@@ -11,4 +11,4 @@ a subset of the parameters in the *Virtual Machine Overview* of the web console.
include::modules/cnv-editing-vm-web.adoc[leveloffset=+1]
include::modules/cnv-editing-vm-yaml-web.adoc[leveloffset=+1]
include::modules/cnv-editing-vm-cli.adoc[leveloffset=+1]
include::modules/cnv-edit-cdrom-vm.adoc[leveloffset=+1]
include::modules/cnv-add-nic-to-vm.adoc[leveloffset=+1]

View File

@@ -10,4 +10,4 @@ parameters in the *Virtual Machine Template Overview* screen.
include::modules/cnv-editing-vm-web.adoc[leveloffset=+1]
include::modules/cnv-editing-template-yaml-web.adoc[leveloffset=+1]
include::modules/cnv-edit-cdrom-vm.adoc[leveloffset=+1]
include::modules/cnv-add-nic-to-vm.adoc[leveloffset=+1]

View File

@@ -0,0 +1,57 @@
// Module included in the following assemblies:
//
// * cnv/cnv_users_guide/cnv-edit-vms.adoc
// * cnv/cnv_users_guide/cnv-editing-vm-template
//
// Establishing conditionals so content can be re-used for editing VMs
// and VM templates.
ifeval::["{context}" == "cnv-edit-vms"]
:object: virtual machine
:object-gui: Virtual Machines
endif::[]
ifeval::["{context}" == "cnv-editing-vm-template"]
:object: virtual machine template
:object-gui: Virtual Machine Templates
endif::[]
[id="cnv-vm-add-nic_{context}"]
= Adding a network interface to a {object}
.Procedure
. From the *{object-gui}* tab, select the {object}.
. Select the *Network Interfaces* tab.
. Click *Add Network Interface*.
. In the *Add Network Interface* window, specify the *Name*, *Model*, *Network*, *Type*,
and *MAC Address* of the network interface.
. Click *Add* to add the network interface.
. Restart the virtual machine to enable access.
. Edit the drop-down lists and check boxes to configure the network
interface.
. Click *Save Changes*.
. Click *OK*.
The new network interface displays at the top of the *Create Network Interface* list
until the user restarts it.
The new network interface has a `Pending VM restart` Link State until you
restart the virtual machine. Hover over the Link State to display more
detailed information.
The *Link State* is set to *Up* by default when the network interface card
is defined on the virtual machine and connected to the network.
// Scrubbing all conditionals used in module
ifeval::["{context}" == "cnv-edit-vms"]
:object!:
:object-gui!:
endif::[]
ifeval::["{context}" == "cnv-editing-vm-template"]
:object!:
:object-gui!:
endif::[]