-
Notifications
You must be signed in to change notification settings - Fork 144
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 extra files #27
base: main
Are you sure you want to change the base?
Conversation
Add support for extra files. Recommend a subfolder be created and then referenced with the -x, --extra-file option for simplicity.
#25 resolution |
Thanks a lot. It's OK |
This PR is working for me. maybe it should also touch the usage in the README |
I've updated README and will place anther request in for pull / merge. |
I see the updated README in this PR. thank you, I am nobody in this project but I approve this PR 👍 |
@steve-daedilus could you provide an example showing how to use the extra-files option? where do they end up? should I copy them back to /target using a late-command? I tried to add a directory and the files do not show up in the final iso. |
The way I use this is to cd to the directory with the script in. Within that I have a "scripts" directory, and within that I have the files I want to include. To include the files, I include the parameter line The referenced folder "scripts" is copied recursively to the nocloud folder in the ISO. I have a late-commands section in my user-data.yml to copy files to where they need to go on the deployment, such as:
|
Add support for extra files. Recommend a subfolder be created and then referenced with the -x, --extra-file option for simplicity.