getjail - zMarch/Orc GitHub Wiki
getjail
Name
getjail - check to see if we're in a chroot
Synopsis
getjail
Description
getjail does a check to see if we're in a chroot, and then does some very basic checks for hypervisors/virtualisation.
getjail writes the report to stdout.
Example
Run the function. There are no command line arguments.
$ getjail
Development
If there are any better checks, let me know.