Skip to content

Machines

Usage: clan machines

Commands

  • create:
  • delete:
  • install: Install a configured machine over the network. The target must be a Linux based system reachable via SSH. Installing a machine means overwriting the target's disk.
  • list:
  • update:

Machines create

Usage: clan machines create

Positional arguments

  1. machine:

Machines delete

Usage: clan machines delete

Positional arguments

  1. host:

Machines install

    Install a configured machine over the network.
    The target must be a Linux based system reachable via SSH.
    Installing a machine means overwriting the target's disk.

Usage: clan machines install

Positional arguments

  1. machine: machine to install
  2. target_host: ssh address to install to in the form of user@host:2222
Options
  • --kexec: use another kexec tarball to bootstrap NixOS
  • --no-reboot: do not reboot after installation
  • --yes: do not ask for confirmation
  • -j, --json: specify the json file for ssh data (generated by starting the clan installer)
  • -P, --png: specify the json file for ssh data as the qrcode image (generated by starting the clan installer)

Machines list

Usage: clan machines list

Machines update

Usage: clan machines update

Positional arguments

  1. machines: <MACHINE> machine to update. If no machine is specified, all machines will be updated.
Options
  • --target-host: address of the machine to update, in the format of user@host:1234