![]() Alternatively, you can use the script to create a systemd service unit. If you want to run a script on every startup, you can use a cloud-init image and use a Scripts Per Boot module. The extension runs a script only once.It might leave the extension in a transitioning state and lead to a time-out. Don't run a script that causes a stop or update of the Azure Linux Agent.If you have a script that causes a reboot before installing applications and running scripts, schedule the reboot by using a cron job or by using tools such as DSC, Chef, or Puppet extensions.Restarting causes problems with other extensions that are being installed, and the extension doesn't continue after the reboot. Anything longer results in a failed provision of the extension. The script is allowed 90 minutes to run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |