🔬
TinyInstaller Guides
  • 👋Welcome to TinyInstaller
  • Overview
    • ✨Our Features
    • Unsupported providers
  • Install Guides
    • Install Windows on DigitalOcean
    • Install Windows on DigitalOcean (Init Script)
    • Install Windows on Vultr
    • Install Windows on Linode
    • Install Windows on Google Cloud
    • Install Windows on Oracle Cloud
    • Install Windows on AWS
    • Install Windows on Azure
    • Install Windows on CloudCone
    • Install Windows on Racknerd
    • Install Windows on SSD Nodes
    • Install Windows on Kamatera
    • Install Windows on VPS Linux
  • Firewall guides
    • Open Firewall on Google Cloud
    • Open Firewall on Azure
    • Open Firewall on Oracle Cloud
    • Open Firewall on AWS
  • Windows
    • Change RDP Port
    • Convert Windows Server Evaluation To Datacenter
  • Payment
    • Pay with Binance
  • Api
    • Api Requests
    • Build Install Command
Powered by GitBook
On this page
  • Install Command
  • Base Command
  • Pre-selected Image Command
  • Pre-Confirmed Command
  • Init Script
  1. Api

Build Install Command

PreviousApi Requests

Last updated 2 months ago

Install Command

Parameters: setup_url: Setup URL obtained from the key: Setup key obtained from the

Base Command

({setup_url} -4O setup.sh || curl {setup_url} -Lo setup.sh) && bash setup.sh {key}

When you run this command, you will be prompted to select an image. To use a pre-selected image, refer to the section below.

Pre-selected Image Command

Append -i={image_id} to the base command. image_id can be found in

Pre-Confirmed Command

Append -y to the command to skip confirmation prompts.

Init Script

#!/bin/bash
tries=10
while [ $tries -gt 0 ] && ! { (wget {setup_url} -4O install.sh || curl {setup_url} -Lo install.sh); } ; do
    echo "Download failed, retrying $tries more times"
    tries=$((tries-1))
    sleep 10
    echo -e "nameserver 8.8.8.8\nnameserver 1.1.1.1" > /etc/resolv.conf
done
bash install.sh {key} -i={image_id} -y
License Info Api
License Info Api
Images Api