Skip to content

Install CloudPanel with cloud-init

#cloud-config

packages:
  - curl
  - wget
  - sudo
package_update: true
package_upgrade: true

runcmd:
  - curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o /tmp/install.sh
  - sudo CLOUD=hetzner DB_ENGINE=MARIADB_10.11 bash /tmp/install.sh
  - sudo /usr/bin/clpctl user:add --userName='john.doe' --email='john.doe@domain.com' --firstName='John' --lastName='Doe' --password='!password!' --role='admin' --timezone='UTC' --status='1'
  - reboot