GenVM - Set root password

GenVM permits an entire automatized generation of virtual machines. To make that possible, the script use lot of default values, like size of disk image, default format, etc (have look on ā€œGenVM - Defaults valuesā€).

The only parameter ask interactively if not define from command line is root password:

aaricia ~ # time genvm ~/tmp/vm.vmdk
Set password to root > 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

The ā€œ-pā€ option set the root password avoiding interactive step:

aaricia ~ # time genvm -p "my root password" ~/tmp/vm.vmdk