中文日本語

Market

Market

What is in it

Two packages for now: keelNAS and keelAuth. Each is a small FreeBSD system made only for that job, with its own version and its own release notes. Each runs as an ordinary VM on keelOS, so it keeps running while the host restarts, like every other VM.

Operating systems you install yourself (Windows, Linux, the router systems, fnOS, TrueNAS) are not in the market: they are templates in the New VM wizard.

Signed packages

  • A package is one .kimg file: a manifest, its ed25519 signature and the compressed system disk.
  • keel takes only packages signed with a key it trusts. keelOS's key is built in; you can add your own. There is no switch to turn the check off.
  • A download is checked against its signature and its SHA-256 before it is kept. A package can also be uploaded from your computer, for a host without internet access.
  • The list comes from github.com/keelos-dev/keelOS-releases while the Market page is open. Its address can point to a mirror in your office.

What an installed package is

  • A VM whose system disk is a ZFS clone of the package's disk: the package is unpacked once, and each instance gets a clone, not a copy.
  • A separate data disk. Your files and settings live there, never on the system disk.
  • A second network card on a link that exists only inside the host. keel manages the VM over it, so a wrong network setting in the VM can still be fixed from the keelOS web interface.
  • No password to type in: keel and the VM exchange a key when it is created.

Upgrades that undo themselves

When a newer package is on the host, the instance shows New version → Upgrade. keel replaces the system disk, keeps the data disk as it is, starts the VM and checks its health. If the new version is not healthy, keel goes back to the old one by itself. The old version is kept for 7 days, so you can also go back by hand.

Measured on our development hosts: an upgrade of keelNAS took the shares away for about 20 seconds, an upgrade of keelAuth 19–33 seconds.

Not done yet

  • Packages from other publishers. The format and the trusted keys allow it; there is no store for them.
  • Packages that ask questions when they are installed, and smaller downloads for an upgrade.
  • keelNAS and keelAuth are in development like keelOS itself and will be released with it.

← Market