enable snapshot of images with user other than root

Many images use a non-root user for remote access. Because the customizations we do depends so heavily on root, we use the non-root user to temporarily enable root access and proceed as normal.

Signed-off-by: Steve Loranz <sloranz@redhat.com>
log that we're enabling root

Signed-off-by: Steve Loranz <sloranz@redhat.com>
Clean up root access after customization and before snapshot

Signed-off-by: Steve Loranz <sloranz@redhat.com>
Make additional Oz working directories configurable
Merge pull request #268 from aeolusproject/feature/oz_datadir_config

Make additional Oz working directories configurable
Take install_script out of try block
Merge pull request #269 from aeolusproject/bug/confusing_oz_os_exception

Take install_script out of try block
avoid pty creation unless we are doing sudo over ssh

Signed-off-by: Steve Loranz <sloranz@redhat.com>
make nodebug store False in debug instead of having both

Signed-off-by: Steve Loranz <sloranz@redhat.com>
Merge pull request #265 from aeolusproject/feature/non-root-user

Feature/non root user
add logging to JEOS config parsing

Signed-off-by: Steve Loranz <sloranz@redhat.com>
replace directory traversal with reading from specific URLs

Signed-off-by: Steve Loranz <sloranz@redhat.com>
add JEOS config and images inspection to REST interface

Signed-off-by: Steve Loranz <sloranz@redhat.com>
fixed a couple of silly bugs in JEOS config parsing.

Signed-off-by: Steve Loranz <sloranz@redhat.com>
switch jeos_config to list of files or URLs to config files

Signed-off-by: Steve Loranz <sloranz@redhat.com>
Merge pull request #272 from aeolusproject/refactor/nodebug

make nodebug store False in debug instead of having both
Closes #274

Signed-off-by: Steve Loranz <sloranz@redhat.com>
Missing self reference - result of refactory/consolidation of some libguestfs code
Allow explicitly setting debug and overriding the config file.

While maintaining the defaults of on for the CLI and off for the daemon.

Signed-off-by: Steve Loranz <sloranz@redhat.com>
Merge pull request #277 from aeolusproject/feature/explicitly-set-debug

Allow explicitly setting debug and overriding the config file.