Tag: script

VMware vRealize orchestrator package diff python tool

February 28, 2018
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...
Read More

Openstack - Deploy training labs

March 13, 2017
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...
Read More

VMware - Dive into OVF properties

March 6, 2017
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...
Read More

Password factory

January 3, 2017
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...
Read More

Make powershell a bit less ugly

August 1, 2016
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...
Read More