bobwire / pentoo

Automatically exported from code.google.com/p/pentoo
1 stars 0 forks source link

Pentoo LXC Virtual Machine #345

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
{{LXC is a really glorified chroot akin to BSD jails. }}

LXC vm good for testing stuff, also has a from basic user structure 
ie your real machine a one can chroot into so makes easy for a package-build 
whore all that more easy. as well one can have it use the real CPU just like 
other apps , or portage niceness if desktops busy. 
you can tune to have less cpu just like virtual box, but as a build container 
if shit hits the fan.... your main pentoo is safe. 

but pentoo inside of a pentoo, ie dose kde-version 5.x work with genmenu or the 
like or lxde etc. 

for now its a quick and dirty hack, lxc-pentoo.in calls lxc-Gentoo.in
then ch-roots adds repos use bins and yanks in pentoo-bins. 
however some refinements for x11 are desirableness ie can remote in ie 
pentoo@localhost >>> pentoo-lxc-crashtest-1  make for x11 bump testing safe ... 
etc. 

**with sid's stage 4 and merging in Gentoo code** , one can have a disposable 
Virtual machine on demand, build good >>> push bin repo, else fail log roll 
back vm & update to vanilla try again. 

mainly though for pre-release testing. however I can think of  few novelty 
nefarious uses, (USB-Rubber-Ducky and spawn a pentoo on a target.... ) 

other evils , if the script works get into a host with lxc ie 
redhat/centos/debian based one could drop and entire pentoo into it. though it 
can be difficult to pop the jail , its on their network essentially Stroll up 
to the gates of the "Troy webfarm client or large inc whom hired you,  and burn 
them from within"... or have as an Pentest-appliance server or also with 
LXC/DOCKER instances for testing. 
ie you can make fork able testing chroots and if shit fucks up can revert. as 
docker instances each container by action 
https://github.com/danthedispatcher/docker-mkimage-gentoo
https://github.com/fgrehm/vagrant-lxc
 https://www.youtube.com/watch?v=Q5POuMHxW-0

https://github.com/necrose99/lxc/blob/master/templates/lxc-pentoo.in

Blshvk has R/W ZC too , for now it needs testing , and perhaps the ascii color 
edition of  logo. few more hacks. 

anyhow it may prove useful. my purposes was to test some of the package finds 
works with Pentoo also, ie ZuluCrypt etc. in a sane manor without burning my 
laptop/desktop install to the ground 
ie /home/pentoo-lxc-x86 /home/pentoo-lxc-amd6  as lxc cashes many things , if 
the container burns its rather fast to nuke it and re-deploy. add in our 
app-witchcraft to further automate testing in a pentoo sandbox lxc. 

Original issue reported on code.google.com by m...@michaellawrenceit.com on 1 Apr 2015 at 9:35