Hi everyone!
This week we have a couple of very interesting new features:
* Using .lago as default prefix for init, that means that if you run init
with just the json configuration file, it will create the prefix at
$PWD/.lago, but, if you did so, then any command that you run on any dir
that's under the $PWD dir that has the .lago prefix, will be run on that
prefix!
For example:
cd /my/awesome/project
lago init myenv.json
# this create the prefix at /my/awesome/project/.lago
cd src/mymodule
lago status
# this will run on the /my/awesome/project/.lago prefix
automatically!
lago start
lago shell myel7_vm
...
* Ouptut format for info gathering commands, for now, just the status and
snapshot -l commands. Now you can add the --out-format|-f parameter to
lago, and when running a command to extract info from the prefix, it will
format the ouptut (yaml, json and 'default' are implemented for now). For
example:
lago -f json status
{
"Prefix": {
"Base directory": ...,
"Networks": {
"n0": {
"gateway": "192.168.201.1",
"management": true,
"status": "down"
},
...
},
"UUID": "fe689d3c39d011e5b22b54ee755a00ca",
"VMs": {
"vm0": {
"NICs": {
...
},
"VNC port": null,
"distro": "cirros",
"metadata": {},
"root password": "123456",
"snapshots": "",
"status": "down"
}
}
}
}
* Added the public template server as the default template repo, so you don't
have to supply it each time
* Using 'direct' as default libguestfs backend, that should get rid of the
annoying errors when bootstrapping the domains on prefix initialization.
The full changelog:
http://resources.ovirt.org/repos/lago/stable/0.0/CHANGELOG_0.0.txt
--
David Caro
Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D
Tel.: +420 532 294 605
Email: dcaro(a)redhat.com
IRC: dcaro|dcaroest@{freenode|oftc|redhat}
Web:
www.redhat.com
RHT Global #: 82-62605