28 lines
No EOL
981 B
Markdown
28 lines
No EOL
981 B
Markdown
1. CloudPanel-specific:
|
|
- Increased minimum disk size to 25GB (CloudPanel requirement)
|
|
- Increased RAM to 2GB (recommended for CloudPanel)
|
|
- Added cloud-init configuration for CloudPanel installation
|
|
- Uses Ubuntu 24.04 LTS as the base image (recommended for CloudPanel)
|
|
|
|
2. The script will:
|
|
- Create a template with ID 912 for Ubuntu 24.04 with CloudPanel
|
|
- Install CloudPanel automatically during the first boot
|
|
- Configure all necessary system requirements
|
|
- Use MariaDB 11.4 as the database engine
|
|
|
|
To use this script:
|
|
|
|
1. Save it to a file (e.g., `create-cloudpanel-template.sh`)
|
|
2. Make it executable:
|
|
```bash
|
|
chmod +x create-cloudpanel-template.sh
|
|
```
|
|
3. Run it:
|
|
```bash
|
|
./create-cloudpanel-template.sh
|
|
```
|
|
|
|
After the template is created, when you clone it:
|
|
1. The VM will automatically install CloudPanel during first boot
|
|
2. CloudPanel installation will take 5-10 minutes after first boot
|
|
3. You can access CloudPanel at https://your-server-ip:8443 |