The diskimage_builder.disk_image_create Module

diskimage_builder.disk_image_create.activate_venv()
diskimage_builder.disk_image_create.main()
diskimage_builder.disk_image_create.running_under_virtualenv()

Return True if we’re running inside a virtualenv, False otherwise.