Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dex4er/shrot
Tool for making recyclable chroot environment usable especially with schroot and managable with ansible
https://github.com/dex4er/shrot
Last synced: 4 days ago
JSON representation
Tool for making recyclable chroot environment usable especially with schroot and managable with ansible
- Host: GitHub
- URL: https://github.com/dex4er/shrot
- Owner: dex4er
- Created: 2013-02-08T21:15:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-30T08:30:53.000Z (over 10 years ago)
- Last Synced: 2024-10-28T09:01:35.166Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 730 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
shrot
=====shrot or scrap-heap (Polish: szrot, German: schrott) is a place where can be
found recyclable and other material left over from product consumption, such
as part of vehicles, building supplies, and surplus materials. Unlike waste,
scrap has significant monetary value.shrot is a tool for making recyclable chroot environment which can be run with
schroot command.The shrot recyclable environment is a basic Debian distribution with own ssh
server. The environment works with ansible - the orchestration tool.shrot is a sandboxing or "virtualizing" without virtualizing. It does not
require any special technologies on host, but schroot binary.Requirements
============Build system
------------This is system where shrot archive is made.
* debootstrap
* sudo
* ansible >= 1.2Host system
-----------This is system where shrot archive is unpacked and running.
* ssh server
* sudo
* schroot >= 1.6
* python2 >= 2.6
* python-simplejson
* python-yaml
* redhat-lsb-core (on Redhat family)Usage
=====SSH keys
--------./generate-keys.sh
Build base archive
------------------./build-base.sh Debian wheezy i386
Build role archive
------------------./build-role.sh Debian wheezy i386 role=mysql,phpmyadmin
Install role archive
--------------------./install.sh Debian wheezy i386 role=mysql,phpmyadmin host=myhost remote_user=myuser ask_sudo_pass=yes shrot_home=/home/shrot
Parameters can be placed in profile configuration:
File profile/default.yml
---
vendor: Debian
suite: wheezy
arch: i386File profile/myhost.yml
---
host: myhost
remote_user: myuser
ask_sudo_pass: yes
shrot_home: /home/shrot./install.sh role=mysql,phpmyadmin myhost