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

Add support for zfs send stream as an output format for system images #731

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

allanjude
Copy link
Member

@allanjude allanjude commented Nov 28, 2019

Includes support for sending an entire pool, or just a boot environment (for upgrades)
Adds the -R flag to allow user to specify ZFS send features

It uses the existing pre/post scripting to control the finer details

Add support for specifying multiple zfssend targets simultaneously.
Document changes in man page and command help output.
poudriere image is a bit too eager setting hostname
Old behaviour:
- poudriere image would always set hostname
New behaviour:
- If hostname is specified with the -h command line option: Always set hostname
- Otherwise, and only if image doesn't already specify a hostname (see: option -c overlaydir), set default hostname.

Sponsored by: Modirum MDPay
Sponsored by: Klara Systems

src/share/poudriere/common.sh Outdated Show resolved Hide resolved
src/share/poudriere/image.sh Outdated Show resolved Hide resolved
src/share/poudriere/image.sh Outdated Show resolved Hide resolved
src/share/poudriere/image.sh Outdated Show resolved Hide resolved
src/share/poudriere/image.sh Outdated Show resolved Hide resolved
@allanjude
Copy link
Member Author

I've managed to get these 2 pull requests (this and #761) mixed together, but, I think it is relatively clean now

@allanjude allanjude force-pushed the zfssend branch 2 times, most recently from 13d09f1 to e970a3b Compare September 9, 2020 17:57
@allanjude
Copy link
Member Author

I managed to sepatate things back apart, but I still need to fixup the man page.

src/bin/poudriere-image.8 Outdated Show resolved Hide resolved
@allanjude allanjude force-pushed the zfssend branch 3 times, most recently from 51012c2 to 5898225 Compare November 1, 2021 00:51
Adds the ability to create a ZFS disk image in the same style as bsdinstall(8).
The default is to create a full GPT disk image, but is also supports just the raw pool.

Also adds `zfs send` streams as an output format, includes support for sending the
entire pool, just the boot environment (for upgrades), or both.
Supports specifying both zfs+send targets (+full and +be) in a single run.

Extends the existing -i support, to be able to modify existing images.

Adds the -R flag to allow user to specify ZFS send feature flags

Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
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

Successfully merging this pull request may close these issues.

4 participants