xiwrap

slightly higher-level container setup utility
git clone https://git.ce9e.org/xiwrap.git

commit
b1785fff540471b6af8936f875bee56024b0dacf
parent
8aed117c1b9c2aedd60925ab2674434de83469f8
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-06-16 13:44
mv defaults to configuration

Diffstat

A rules/base 8 ++++++++
M xiwrap.py 6 +-----

2 files changed, 9 insertions, 5 deletions


diff --git a/rules/base b/rules/base

@@ -0,0 +1,8 @@
   -1     1 import env-lang
   -1     2 setenv TERM
   -1     3 setenv USER
   -1     4 setenv HOME
   -1     5 
   -1     6 tmpfs /tmp
   -1     7 dev /dev
   -1     8 proc /proc

diff --git a/xiwrap.py b/xiwrap.py

@@ -58,11 +58,7 @@ class RuleError(ValueError):
   58    58 class RuleSet:
   59    59     def __init__(self):
   60    60         self.env = {}
   61    -1         self.paths = {
   62    -1             '/tmp': ('tmpfs', None),
   63    -1             '/dev': ('dev', None),
   64    -1             '/proc': ('proc', None),
   65    -1         }
   -1    61         self.paths = {}
   66    62         self.dbus = {}
   67    63         self.share = {}
   68    64         self.sync_fds = None