module
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jan 18, 2024
License: BSD-2-Clause
Opens a new window with license information.
README
¶
RootVE
Management framework for chroot environments on NetBSD.
How to build
- Clone the repository.
- Execute the build.sh script.
- Execute the install.sh script, as root.
- 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
[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"
Directories
¶
pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.