-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
base: main
Are you sure you want to change the base?
Conversation
@@ -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> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Signed-off-by: Cole Stowell <[email protected]>
@mergify queue |
🛑 The pull request has been removed from the queue
|
This pull request has been removed from the queue for the following reason: The merge conditions cannot be satisfied due to failing checks: You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. If you want to requeue this pull request, you need to post a comment with the text: |
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.