Deploying new Linux workstations or servers can be time-consuming, especially when each client or project has unique requirements. Traditional imaging can quickly become outdated, leaving room for inconsistencies. This resource standardizes the entire setup process and minimizes repetitive manual tasks.
Description
This automation can be triggered manually or when a device is tagged with “Setup” for Linux. It installs all available Linux system updates to keep devices secure, then runs scripts to add a local admin user and load SSH keys for streamlined remote access. After that, it applies tags for antivirus (AV) solutions and managed services, removing the setup tag once complete. Finally, the system reboots to ensure all changes take effect, providing a consistent, production-ready environment.
Preview
Use Cases
Rapid provisioning of new Linux servers
Onboarding Linux workstations for remote teams
Ensuring consistent setup across client sites
Updating legacy systems with minimal effort
Streamlined management for MSPs with multiple Linux environments
Recommendations
Best Practices: Always test the automation on a non-production Linux device first, confirming that your custom fields and user credentials are properly configured.
Testing Instructions: Manually trigger the automation or apply the “Setup” tag on a test machine. Monitor logs to verify that updates install, the admin user is created, and the SSH key is properly added.
Required Changes: Customize or remove any tags or scripts to match specific deployment needs. Ensure your SSH key and user details are correct in Level’s custom fields.
Getting Started: Once satisfied with your testing, apply the “Setup” tag to your Linux device or trigger the automation manually, then watch as it handles everything from updates to user creation.
FAQ
Will this automation remove existing SSH keys? No, it adds new keys without deleting existing ones. Confirm your scripts if you need to overwrite any keys.
Does this automation require a reboot? Yes, a final reboot is performed to ensure that updates and configurations are fully applied.
Can I modify which tags or scripts are run? Absolutely. You can adjust the automation steps to apply only the tags or scripts you need.
What happens if the system is already up to date? The automation simply confirms there are no further updates, then proceeds with the rest of the steps unimpeded.
Included with this Automation:
Below is a list of what you can expect to find when importing this Automation.
Script details:
The following data and settings will be imported with your script.