Open SvenDowideit opened 3 years ago
https://github.com/smart-edge-open/profiles might be helpful
Hi @SvenDowideit, the idea behind having profiles is exactly this. You can clone a sample profile and add a step at the end to meet your specific requirements.
If you would like even more flexibility in the tool, you could put in a feature request. Something like: "Add ability to call a custom script at the end of a build" or something similar.
Sven this may exist already. Can you explain what you are thinking?
@dvintel that sounds like what I was wondering - and I asked this way explicitly because i don't know if it might already exist :)
basically, I was wondering if making my own profile was the only way to add a trivial post step - which then means we're all maintaining forks, and needing to get the updated, instead of (somehow?) being able to do something like Set a POST_SCRIPT env var that is a URL to an external script on "this" container
, and the device will curl and sh
it.
honestly, there's so much magic in ESP that i'm hoping for shortcuts
@brod-intel, are you thinking of something like having @SvenDowideit add a line to the bottom of his custom profile, similar to: https://github.com/intel/rni-profile-base-ubuntu/blob/slim/bootstrap.sh
That's an easy way to get the desired effect, but I think @SvenDowideit wants one step further that would enable him to add another call without having to have a custom profile.
Actually - the basic reason I originally thought of this, is i'd like to make a final customisation script that could be pplied to most, if not all exiting profiles - given that I mostly work via containers :)
I'd love to add a URL to a bash script that gets called at the end of the provisioning (of any Linux based profile).
I've not found mention of one, but I thought I'd check before i go deeply in the wrong direction :)
Ideally, this script would be generated by ESP based based on running an ESP side customisation hook
yes, I'm pondering how to make a pre-FDO magic deployment and onboarding network...