Hi everyone!
This week we introduced one big change in how lago handles prefixes, we
introduced the 'workdir' concept, that is, a directory that will store one or
more prefixes, let me show with an example.
Imagine that you have an init.yaml that creates an environment with 1 vm, you
can run init like this:
lago --prefix-name one_vm init init.yaml
That will create a workdir at $PWD/.lago with one prefix inside named one_vm
and a soft link named 'current' that points to it, so any further command will
run on that one_vm prefix:
lago status # shows the one_vm prefix path
Until there nothing new, but, now you can create more prefixes, if for example,
if you have another init config file named two_vms.yaml, you can create
another prefix inside that same workdir with:
lago --prefix-name two_vms init two_vms.yaml
That will add a new prefix to $PWD/.lago, it will not update the current link
though, so any command will still run by default on the previous prefix, but
you can change the current prefix with:
lago set-current two_vms
That will make any command that does not specify the --prefix-name option to
use that one by default.
NOTE: lago init will create only workdirs from now on, but you can still use
the old prefixes if you have any around, it will autodetect them as one or the
other.
Some other changes:
Now it will show the libvirt status of the domains
Remove the memory balloon device. We don't use it.
Ignore zero sized RPM files when merging repos.
Added ignore-warnings option
To see the full changelog:
http://resources.ovirt.org/repos/lago/stable/0.0/CHANGELOG_0.0.txt
And as usual, you can get the rpms from:
http://resources.ovirt.org/repos/lago/stable/0.0/rpm/
Cheers!
--
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