Tag: script

New release of VMware vRealize Orchestrator package diff tool

About a year ago, I published a small tool to compare two VMware vRealize Orchestrator packages file: vRO Package Diff. Initial version was a simple python script accepting 2 files as arguments and without any input controls. Today, I publish a v2 of the tool with the following changes: vro-package-diff is now a Pypi hosted project: vro-package-diff and so, can be installed with pip install command. An endpoit vro-diff to access to the tool from...

VMware vRealize orchestrator package diff python tool

I have recently published a draft tool to provide a table-formated diff of two vRealize Orchestrator packages. Project is available on GitHub project and will evolve in futur to support more package item’s types and to provide better information about differences. Installation Requirements: Python 3 and pip installed. Download: git clone https://github.com/lrivallain/vro-package-diff.git cd vro-package-diff (optionnal) Create python virtualenv: virtualenv -p python3 --no-site-packages venv . venv/bin/activate Install required python packages: pip install -r requirements.txt Usage python...

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...

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...

Make powershell a bit less ugly

Powershell is a very usefull tool when you have to work on a Windows operating system. It help’s a lot in automation of recurring tasks and provide an easy way to extract informations in custom format. But the default powershell command window is very very… ugly… Here are some customizations I do when I need to use Powershell from a Windows OS: Font: Consolas Font Size : 12pt Window size: 120c*50 Buffer size: 120c*3000 (at...