weizhouapache commented on issue #13347:
URL: https://github.com/apache/cloudstack/issues/13347#issuecomment-4630273216

   > [@weizhouapache](https://github.com/weizhouapache) Hello, could you please 
help me answer this question?
   
   @miloserdoff 
   you may need a script and a systemd service which run the script every time 
when the VR starts.
   
   However, when you restart network with cleanup, the systemd service and 
script do not exist in the new VR.
   so, to achieve it, you can refer to 
https://www.shapeblue.com/customise-system-vms-via-user-data/
   
   please note, the userdata applies to all VRs, so the userdata should be 
smart enough, based on the boot args of the VR (check /var/cache/cloud/cmdline).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to