VMware - PowerCLI 6.5.1 Cheat Sheet

SII Ouest VMware team has published a PowerCli Cheatsheet with most common commands of the VMware PowerShell SDK to manage vSphere environments. The cheat sheet is open-sourced and published in the SII Group GitHub page. Online html version is available in the following page : cheat-sheets/powercli Printable PDF can be download here: PDF Feel free to suggest or commit modification in the repository to enhance those 2 pages.

Openstack - Deploy training labs

I’m currently working to deploy quickly OpenStack based training lab to provide a platform for practical exercises for training sessions. According to the hosted training session, the needs may differ significantly and we need to quickly clean and recreate a “training” tenant. I have developed a quick helper to produce a new environment in short term: buildlab.sh Here is an usage example: # Following command will create: # * instance(s) named "training" # * based...

VMware - Dive into OVF properties

In order to fully configure a virtual machine after a clone of OVF deployment, it may be useful to use settings from virtualization layer in the guest OS: for example to run Guest OS customization as already discussed in this blog. Today, we will focus on OVF properties. Presentation of OVF properties Representation of OVF properties Create new properties Edit VM properties values Get OVF properties from the guestOS VMware tools ISO image Properties usage...

Openstack - Migrate keystone endpoint URL

After a DNS record change for the controller node of our lab OpenStack infrastructure, Horizon client was still displaying the old endpoint DNS hostname in the API access. This information is coming from the keystone database, so we need to proceed a c List endpoints list, filtered on interface public: $ openstack endpoint list --interface public" +----------------------------------+-----------+--------------+--------------+---------+-----------+----------------------------------------------------------+ | ID | Region | Service Name | Service Type | Enabled | Interface | URL | +----------------------------------+-----------+--------------+--------------+---------+-----------+----------------------------------------------------------+...

Password factory

A quick tip to easily generate random password from a bash command line. Add the following lines to your bashrc file: alias genalphanumpasswd='tr -cd '\''[:alnum:]'\'' < /dev/urandom | fold -w30 | head -n1' alias genpasswd='tr -cd '\''[:graph:]'\'' < /dev/urandom | fold -w30 | head -n1' Save and source it: . ~/.bashrc Then you can use it: $ genalphanumpasswd i?`c8.f{Ba^NXwu^9)VD~dao*?S*Bi $ genalphanumpasswd 75kDvC3fwJAMPPv2CVdEDwNzvHFAZU The first alias, based on [:graph:], produces passwords made of all printable ascii...