projectatomic/rpm-ostree-toolbox — pull request #20 by baude (2014-11-20 22:45:23+00:00)
Title: rpm-ostree-toolbox: Allow users to run all commands without inputs

This patch encompasses several files (of which will be detailed
below) to allow users to run -toolbox commands without additional
commandline switches and only from the configuration file. It adds
assumptions for finding proper inputs as well as usable fallback
defaults.

* rpm-ostree-toolbox-man
- Added check for sudo, fail if not
- Now passing cmd to the classes to help with taskbase conditionals

* treecompose
- Changed -r (release) to -p (profile) to distinguish between
the os release and the "stanza" in the configuration file. The
default setting is now 'DEFAULT'

* imagefactory
- images (qcow2, etc) are being output'd to outputdir/images
- -o, -k, --name, --tdl are no longer required
- Same -r change as treecompose

* installer
- Same -r change as treecompose
- -c, -o are no longer required

* taskbase
- Rec's cmd to be able to conditionally check required inputs
- profile now is the config.ini stanza
- release now is the os release, aka release in config.ini
- detect if -p passed exists, fail otherwise
- yum_baseurl is now req'd in config.ini or via -b, fallbacks
removed
- kickstart fallback is os_name-release.ks
- tdl fallback is os_name-release.tdl
- --name is now name from config.ini, unless provided