VCF Automation Blog

from Stefan Schnell


Tips for Handling the VMware Hands-on Labs


VMware Hands-on Labs (HOL) is a great way to learn about and test VMware products. This post describes how this environment can be handled, in consideration of a system language other than the one preset in the HOL. Everything works in a web browser and no installation is necessary. The settings in the HOL environment are a standard, e.g. English keyboard layout.

Show English Keyboard Layout

To view the English keyboard layout click on the keyboard icon in the system tray and select the layout. A virtual keyboard with the English keyboard layout is now displayed. The desired character can now be entered. This procedure makes the handling of the HOL much easier.

keyboard icon in the system tray

different keyboard layouts

english keyboard layout

Use Notepad++ as destination for Text Transfer

It is recommended to always use Notepad++ as the destination for a text transfer. Tabs and spaces are added during text transfer, which must be removed again afterwards. The easiest way to do this is with Notepad++.

Configure Notepad++

To ensure better text transfer, Notepad++ should be set as follows:

Avoid Indentations at Transfer Text

When sending text with indentations, e.g. whitespaces, these are retained, after a line break, as can be seen in the following image. Therefore leading whitespaces should be removed before sending the text to the console. Otherwise it can quickly happen that the text is aligned far to the right. To delete leading whitespaces you can use a regular expression like ^\s+.

send text to a hands-on lab with indentations
If the text data was transferred directly in the VCF Automation editor of the embedded Orchestrator, e.g if it is a JavaScript source, it is possible to use format document from the command palette. This command removes all indentations with one step.
Hint: This procedure does not work with Python.

Conclusion

HOLs are a fantastic way to learn about and test VMware products. With a few procedures we can already optimize our handling with it, to simplify our trainings and tests in consideration of another system language.