Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
/ rootve Public archive

Chroot Virtual Environments

License

Notifications You must be signed in to change notification settings

TheDevtop/rootve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

[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"