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 option to set ownership of extraFiles #444

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

costowell
Copy link

I was in need to setting ownership for some extra files and will probably need it more going forward so I added a --chown option and documentation too.

@@ -49,7 +49,10 @@ Options:
copy over existing /etc/ssh/ssh_host_* host keys to the installation
* --extra-files <path>
contents of local <path> are recursively copied to the root (/) of the new NixOS installation. Existing files are overwritten
Copied files will be owned by root. See documentation for details.
Copied files will be owned by root unless specified by --chown option. See documentation for details.
* --chown <path> <ownership>
Copy link
Member

@Mic92 Mic92 Dec 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this parameter to our existing nixos test?

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.

2 participants