Hi,

If you check the create server API
https://docs.openstack.org/api-ref/compute/#create-server
You can find an optional argument in request "user_data" and there is examples bellow with "user_data" included.

Hope this helps you.

Regards,
Ching Kuo
On Monday, December 25th, 2023 at 10:49 PM, Parsa Aminian <p.aminian.server@gmail.com> wrote:

hello
how can I run shell script after vm creation on openstack with api ? I check nova api document and there is no thing about user_data api in nova documents