How VM contextualization works

Hello everyone,

I’m working around vm contextualization and I noticed that at each vm reboot the script is played again.

Is there any solution to run the script only once ?

Thank you.

Hello @Yacine_FETOUH

There isn’t, each time the VM boots the scripts are triggered.

But, if you uninstall the context scripts before the first boot, obviously they won’t run again.

Thank you for your response,

You are talking about removing /etc/one-context.d/ folder ?

Thank you

You can remove the package one-context depending on VM distro.

Thank you, it works perfectly.

That’s great!