Startup scripts allow you to automate specific configurations during the operating system installation. Changing the startup script on an instance wipes the file system and reinstalls the default operating system.
Follow this guide to change the startup script on a Vultr Optimized Cloud Compute instance using the Vultr Customer Portal.
Navigate to Products and click Compute.
Click your target Vultr Optimized Cloud Compute instance to open its management page.
Navigate to the Settings tab.
Find and click Change StartUp Script on the left navigation menu.
Click Add Startup Script.
Enter a new script name and click the Type drop down to select the script type.
Add your startup script data and click Add Script to apply the script to your instance.
Navigate to Change StartUp Script in your instance settings to verify that the new script is added.
Select the startup script and click Change Startup Script.
Check the confirmation prompt and click Change Startup Script to apply the new script.