molecule-libvirt icon indicating copy to clipboard operation
molecule-libvirt copied to clipboard

What is the best way to overwrite the user-data.j2 file?

Open mhagnumdw opened this issue 3 years ago • 0 comments

Hi!

I need to customize the user-data.j2 file. What's the best way to do this? I'm using python's virtualenv.

I'm currently changing the file directly in $PROJECT_FOLDER/.venv/lib/python3.10/site-packages/molecule_libvirt/playbooks/templates/user-data.j2, but I'd like to leave the change versioned in git.

mhagnumdw avatar Jun 25 '22 15:06 mhagnumdw