Giter Club home page Giter Club logo

Comments (5)

olevole avatar olevole commented on May 20, 2024 2

Hello.

Summarily: implement in two ways:

  1. Populate base directory from existing master-host environment (only if version of master-host and jail is equal. No internet connection required).
  2. Add user's input on get_base stage to be able to specify path for archive ( somewhere within this commit: olevole@3ca1c87 ).

Will be included in CBSD 10.3.2.
Thanks for contribution's and any ideas/comments.

from cbsd.

mzs114 avatar mzs114 commented on May 20, 2024

Ok, after reading the PS under #52(to use our own repo), I tried extracting the base.txz by creating a new directory /path/basejail/base_amd64_amd64_10.2/ on a new installation of CBSD.

# tar xJf /mnt/usr/freebsd-dist/base.txz -C /path/basejail/base_amd64_amd64_10.2/

This worked!
I could list the base and create new jails:

# cbsd basels
NAME  ARCH   TARGET_ARCH  VER
base  amd64  amd64        10.2

Please close the ticket if this is ok.

from cbsd.

olevole avatar olevole commented on May 20, 2024

Hi! Thanks for feedback.
This ticket is interesting because it is the second one: https://github.com/olevole/cbsd/issues/52
I probably make possible to obtain a minimum base of working copy (ie, from / environment) in the next version of CBSD.

from cbsd.

mzs114 avatar mzs114 commented on May 20, 2024

Thanks!
Let us know if you would like some testing.
I also tried changing the repo value to file:///mnt/usr/freebsd-dist/ but it did not work.

Btw, I am proposing CBSD as a container management system where people are inclining towards Docker/CoreOS/Kubernetes, etc.

In my opinion CBSD does not introduce new layers of management, it makes use of the good old tools(rsync, zfs, etc).

from cbsd.

olevole avatar olevole commented on May 20, 2024

Stage1/2 done (within olevole@79c51fe ): Implement populate base from current system. No source tree or object file needed. This work only if the version of container == base system version

Stage2/2: implement local repo, documentation on site: work in progress.

from cbsd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.