[PATCH v6 5/7] sandbox: Use a text-based environment