-
-
Notifications
You must be signed in to change notification settings - Fork 744
Cloud init installation
lymanjre edited this page Aug 4, 2023
·
6 revisions
This section is suitable for hosting that supports cloud config Copy and paste this code into the appropriate field
#cloud-config
package_upgrade: true
packages:
- apt-transport-https
- ca-certificates
- curl
- wget
- gnupg-agent
- software-properties-common
- git
runcmd:
- cd /opt
- git clone https://github.com/hiddify/hiddify-config/
- cd hiddify-config
# uncomment it for using a special secret other wise it will be createed automatically
# - echo "USER_SECRET=0123456789abcdef0123456789abcdef" >config.env
# - echo "MAIN_DOMAIN=" >>config.env
- echo "TELEGRAM_AD_TAG=" >>config.env
- bash install.sh
final_message: "The system is finally up, after $UPTIME seconds"
output: { all: "| tee -a /root/cloud-init-output.log" }
# you can see the generated link from the website by using http://yourip/ or https://yourip.sslip.io in one hour, after that, it will be disapear.
After installing this script, follow the installation from here to complete the installation.