Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevtop/rootve
Chroot Virtual Environments
https://github.com/thedevtop/rootve
chroot-environment golang unix
Last synced: 2 months ago
JSON representation
Chroot Virtual Environments
- Host: GitHub
- URL: https://github.com/thedevtop/rootve
- Owner: TheDevtop
- License: bsd-2-clause
- Created: 2023-10-06T12:09:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-18T18:43:35.000Z (12 months ago)
- Last Synced: 2024-01-19T14:00:48.784Z (12 months ago)
- Topics: chroot-environment, golang, unix
- Language: Go
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RootVE
Management framework for chroot environments on NetBSD.
### How to build
1. Clone the repository.
2. Execute the build.sh script.
3. Execute the install.sh script, as **root**.
4. Start the service.### How to use
You can manage Virtual Environments with rootctl:
- Start VE `rootctl start [name]`
- Stop VE `rootctl stop [name]`
- Spawn shell `rootctl shell [name]`
- Remove VE `rootctl rm [name]`
- Pause VE `rootctl pause [name]`
- Resume VE `rooctl resume [name]`
- List all VE `rootctl ls`
- List active VE `rootctl ps`### Example config
```toml
[site]
Root = "/root/site/"
Autoboot = false
Directory = "/root"
Uid = 0
Gid = 0
Environment = ["TERM=xterm", "HOME=/root"]
CommandPath = "/bin/ksh"
CommandArgs = ["-l"]
Networking = true
Interface = "tap0"
AddressV4 = "192.168.120.102"
NetmaskV4 = "255.255.255.0"
```