Scripts for configuring each machine after Clonezilla deployment. Sets the hostname, installs AV, and registers the RMM agent.
| File | Description |
|---|---|
setup-clone.sh |
Main setup script — run this on each machine |
.env |
Config file containing your AV token and RMM URL |
*.deb |
SentinelOne installer — place this here before cloning |
Do this once before running Clonezilla.
Open .env and add your credentials:
AV_SITE_TOKEN=your-sentinelone-site-token
RMM_INSTALL_URL=https://hostname/your-installer-url
Download the Linux agent from the SentinelOne console (Settings > Updates > Linux) and place the .deb file in /opt/clone-setup/. The script will find it automatically.
chmod +x /opt/clone-setup/setup-clone.shThen proceed with Clonezilla as normal.
Run this on each machine once it's booted and connected to the network:
cd /opt/clone-setup
sudo bash setup-clone.shThe script will:
- Prompt you for the hostname (e.g.
ccv02,ccv03...) - Show a confirmation summary
- Set the hostname
- Install and register SentinelOne
- Install and register the RMM agent
A log of each run is saved to /opt/clone-setup/setup.log.
Please use ccvNN where NN is a two-digit number greater than 01
| Hostname | Notes |
|---|---|
| ccv01 | Master station (not cloned) |