Thanks to visit codestin.com
Credit goes to github.com

Skip to content

williamsdj/lab_shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is inspired by, and heavily borrows from, the hard work of jonschipp ISLET project.

Motivation

I needed a simple shell that would parse environmental variables being set by an SSH connection and create, resume, or destroy containerized environments. I wanted the SSH connections to drop a user into the environment specified by the passed variable(s) with no menu interaction required.

Installation

The installation is very simple. First, grab the dependencies and then install.

Dependencies

  • Linux, Bash, OpenSSH, Make, SQLite, and Docker Engine

Typically, all you need is Make, SQLite and Docker Engine (for Debian/Ubuntu):

apt-get install make sqlite

See Docker's documentation for installation instructions.

Install

After installing the dependencies, run:

make install 

See the menu for more options, make

Updating

Updating an existing installation is very simple:

tar zcf labs_config.tgz /opt/lab_shell/labs # Backup configs
make update
tar zxf labs_config.tgz -C /       # Restore configs

About

It's a shell for labs......

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 91.2%
  • Makefile 8.8%