Install from one ISO
For networks with no internet access, or anyone who wants a server with nothing to prepare: fill in one settings file, build one ISO, and boot a server or virtual machine from it. It installs the operating system, Docker Engine, and Gardience with no questions, then restarts with the console running. Everything it needs is on the ISO; nothing is downloaded and no outside service is involved.
What you need
#- The offline bundle for the server's architecture (
gardience-VERSION-offline-amd64.tar.gzfor Intel and AMD,-arm64for ARM). - An Enterprise Linux 10 install ISO for the same architecture: AlmaLinux 10, Rocky Linux 10, or Red Hat Enterprise Linux 10, minimal or DVD. Gardience adds Docker Engine and only the few packages the ISO does not already carry, at versions that match the ISO.
- To build the ISO: a machine with Docker and internet access (the build fetches Docker Engine's packages once). The server you boot needs neither.
- The server: 2 CPUs, 4 GB of memory, and a 40 GB disk for a trial (see Requirements for larger fleets). The disk is erased.
1. Fill in the settings file
#The offline bundle carries a commented example, install/appliance.example.yaml. Copy it and fill it in:
hostname: gardience.example.com # in the console's certificate; agents use it to reach the server
network: dhcp # or static, with address, gateway, and dns
timezone: America/Chicago
disk: auto # the first disk, or sda, vda, nvme0n1
admin_user: admin # signs in to the server with the key below; sudo; no password
ssh_key: "ssh-ed25519 AAAA... you@laptop"
https_port: 443
fleet_size: 500
license: ./gardience.license # optional: without one, add it later under Settings2. Build the ISO
#From the unpacked offline bundle:
./tools/make-appliance.sh --settings appliance.yaml --iso AlmaLinux-10.2-x86_64-minimal.iso --bundle gardience-VERSION-offline-amd64.tar.gzIt checks the settings file first and says plainly what is wrong, then writes gardience-appliance-VERSION-ARCH.iso and its SHA-256 checksum. Building takes about a minute.
3. Boot a server from it
#Attach the ISO (a virtual machine's CD drive, a USB stick written with dd, or a server's remote console) and start the server. With no keyboard input it:
- installs the operating system with SELinux enforcing and the firewall on, the admin user with only your SSH key (password sign-in off), Docker Engine, and the Gardience bundle;
- restarts, then installs Gardience from the bundle on first boot and opens the console and agent ports in the firewall;
- shows the console address on the server's screen.
The console's one-time admin password is saved for root only:
ssh admin@gardience.example.com sudo cat /root/gardience-admin.txtSign in at the address shown and change the password. The first-boot log is /var/log/gardience-appliance-install.log. From here everything works as on any install: upgrades use the next offline bundle, and machines enroll as in Enroll Linux machines and Enroll Windows machines.
Tested
#Each release, the arm64 ISO is built from AlmaLinux 10.2 minimal and installed on a virtual machine with every outside connection blocked: the operating system, Docker, and Gardience install with no input, the console answers, and nothing is downloaded.