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

Declarative approach #1

Closed
Intensity opened this issue Apr 10, 2016 · 1 comment
Closed

Declarative approach #1

Intensity opened this issue Apr 10, 2016 · 1 comment

Comments

@Intensity
Copy link

Hi,

Thanks for your contribution. I'm wondering if you have any thoughts on the following: zfsonlinux/pkg-zfs#202

I'm wondering, in what ways might the process become more declarative so that the configuration (and the parameters that are most commonly changed) derives a corresponding flow.

@arcenik
Copy link
Owner

arcenik commented Apr 13, 2016

Hi,

In some way, the script is already declarative.
Beside some variables you provide three functions that are called during the installation process.

  • do_partition : partition the disk (and luksFormat)
  • do_rpool : create the ZFS pool and volumes
  • do_user : called in chrooted env.

My goal is to keep the script simple and easily adaptable to each needs.

François.

@arcenik arcenik closed this as completed Apr 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants