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>
avoid pty creation unless we are doing sudo over ssh

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

Feature/non root user