Adding custom files to Torizoncore

Can I add any custom files to TorizonCore using TorizonCore builder tool?

I am aware about the isolate command that captures the changes from the /etc directory, however if I want to add some file (bash script) at a particular location without using docker, is there any way to do it using builder tool.

Hi @hexagun,

Can you please provide more information what files and why you want to store files other then /etc?
Also please check this community post for more detail why we track /etc and let me know if you have further question.

Best Regards
Ritesh Kumar

Hi @ritesh.tx,
I wanted to run a script that starts automatically on boot with systemd. I want to put this script at some location when I build an image using TorizonCore builder tool. I can capture the unit files I write for systemd, however I wanted to know where can I place the boot script. Its a simple script that checks network connectivity.

Hi @hexagun ,

You can create unit files in /etc directory and best place to put systemd service file is in /etc/systemd/system. TorizonCore Builder should be able to capture these changes.

Best Regards
Ritesh Kumar