Prvotní konfigurace VPS skriptem, cloud-init a NixOS / Initial VPS configuration with script, cloud-init and NixOS

Read in English below.

Při vytvoření nové VPS a reinstalaci můžete přes vpsAdmin do VPS nahrát skript nebo konfiguraci pro cloud-init a systém tak při prvním spuštění automaticky nastavit. Podporujeme tyto způsoby prvotní konfigurace:

  • Skript, který vpsAdmin integruje do systému VPS tak, že se při startu VPS automaticky spustí a potom se smaže
  • YAML/config data pro cloud-init
  • Skript spuštěný přes cloud-init
  • Konfigurace pro NixOS
  • NixOS flake nebo flake URI

Skripty a konfigurace je možné vložit při vytváření/reinstalaci VPS, nebo si je můžete do vpsAdminu předem uložit a potom jen vybrat, jakou konfiguraci použít.

Více informací a ukázky použiti viz znalostní báze.

English

When creating a new VPS or reinstalling, you can upload a script or configuration for cloud-init via vpsAdmin to automatically configure the system on its first startup. We support the following initial configuration methods:

  • A script that vpsAdmin integrates into the VPS system, which runs automatically at startup and is then deleted
  • YAML/config data for cloud-init
  • A script executed via cloud-init
  • Configuration for NixOS
  • NixOS flake or flake URI

Scripts and configurations can be provided during VPS creation/reinstallation, or you can save them in vpsAdmin beforehand and simply select the desired configuration when needed.

For more information and usage examples, see the knowledge base.