Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-request: Chose base for jails #327

Closed
ntinti opened this issue Sep 9, 2018 · 4 comments
Assignees

Comments

@ntinti
Copy link

@ntinti ntinti commented Sep 9, 2018

It would be nice to have the possibility to select and change the base for jails at any time. E.g. to switch from FreeBSD.org base to self build base.tgz before or after a jail is constructed.
Currently a selection only is shown before the build and only when a base isn't found

@olevole olevole self-assigned this Sep 16, 2018
@olevole

This comment has been minimized.

Copy link
Collaborator

@olevole olevole commented Sep 16, 2018

hint for myself: some kind of script like 'world-tui' or 'world-cfg' ?

@olevole

This comment has been minimized.

Copy link
Collaborator

@olevole olevole commented Jan 12, 2019

notes: some of the improvements for this task were made as part of #367, now we can easy manage sources for bases via config files.

so you can do 'cbsd removebase' , 'cbsd removebase ver=XX' and try to start jail again to get selector for base source.

anyway, something like 'world-tui' would be nice to implement as well as 'basename' in jconstruct-tui/jconfig. therefore, I will leave this task open and apparently it will be implemented after 12.0.4 release so that some testing time for #367 has passed.

olevole added a commit that referenced this issue Jul 11, 2019
@olevole

This comment has been minimized.

Copy link
Collaborator

@olevole olevole commented Jul 12, 2019

Well, the ability to work with different bases was from the very first CBSD versions ( basename, see: https://www.bsdstore.ru/en/base_cbsd.html ). However, we lacked the usual management for this.

The 'basename' was returned to 'jconstruct-tui'. In addition, added register_basename args to 'installworld' and 'repo' script which governs the alternate base name obtained from the relevant sources. E.g:

cbsd repo action=get sources=base register_basename=version1
cbsd jset basename=version1 jname=XXX

or

cbsd buildworld
cbsd installworld register_basename=alternative_base
cbsd jset basename=alternative_base jname=YYY

or set basename in 'jconfig' or 'jconstruct-tui'.

Note: 'basename' menu item available only when you have named bases ( see: "cbsd bases" output ).

Will be available in the next CBSD release: 12.0.14

@olevole olevole closed this Jul 12, 2019
@ntinti

This comment has been minimized.

Copy link
Author

@ntinti ntinti commented Sep 11, 2019

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.