Skip to content

Commit

Permalink
add default values and add {guid} to vmname NO SCREENSHOTS
Browse files Browse the repository at this point in the history
  • Loading branch information
newgoliath committed Sep 6, 2024
1 parent 355e02f commit 4c54192
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion content/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ asciidoc:
lab_name: Experience OpenShift Virtualization
release-version: master
page-pagination: true
openshift_cluster_console_url: openshift_cluster_console_url
openshift_cluster_admin_username: openshift_cluster_admin_username
openshift_cluster_admin_password: openshift_cluster_admin_password
vcenter_console: vcenter_console
vcenter_full_user: vcenter_full_user
vcenter_password: vcenter_password
page-links:
- url: https://redhat.com
text: Red Hat

extensions:
- ./content/lib/tab-block.js
- ./content/lib/remote-include-processor.js
6 changes: 3 additions & 3 deletions content/modules/ROOT/pages/module-02-mtv.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ image::module-02-mtv/16_VMware_Source_Provider.png[link=self, window=blank, widt

. On the next page select the three VMs you would like to move:

* database
* winweb01
* winweb02
* database-{guid}
* winweb01-{guid}
* winweb02-{guid}

. Click *Next*.
+
Expand Down
10 changes: 5 additions & 5 deletions content/modules/ROOT/pages/module-08-workingvms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ image::module-08-workingvms/11_Imported_VMs_List.png[link=self, window=blank, wi
+
NOTE: Ensure you select the correct project, *vmexamples* if you completed the *Migrating Existing Virtual Machines* module or *vmimported* if you did not.

. Select to the *winweb01* VM and navigate to the *YAML* tab.
. Select to the *winweb01-{guid]* VM and navigate to the *YAML* tab.
. Find the *spec:* section and under the *template.metadata* add the following lines to *labels* section in the VM resources:
+
[source,yaml,role=execute]
Expand All @@ -136,8 +136,8 @@ IMPORTANT: Make sure to get the indentation exactly right - just like in the scr
+
image::module-08-workingvms/12_Imported_VMs_YAML.png[link=self, window=blank, width=100%]

. *Repeat* the process for the VM *winweb02*.
. Start, or restart if already running, the *winweb01* and *winweb02* virtual machines.
. *Repeat* the process for the VM *winweb02-{guid}*.
. Start, or restart if already running, the *winweb01-{guid}* and *winweb02-{guid}* virtual machines.
+
NOTE: Ensure the VMs are properly working by accessing to the console tab of each VM.

Expand Down Expand Up @@ -218,7 +218,7 @@ metadata:
namespace: vmexamples
spec:
selector:
vm.kubevirt.io/name: database
vm.kubevirt.io/name: database-{guid}
ports:
- protocol: TCP
port: 3306
Expand Down Expand Up @@ -261,7 +261,7 @@ metadata:
spec:
type: LoadBalancer
selector:
vm.kubevirt.io/name: database
vm.kubevirt.io/name: database-{guid}
ports:
- protocol: TCP
port: 3306
Expand Down

0 comments on commit 4c54192

Please sign in to comment.