Repository navigation
Barn 1.3.0
Barn 1.3.0 adds Linux guest clock synchronization, short image selectors,
and a fix for macOS network setup and repair. It embeds Linux image catalog
2026112101 and selects macOS 27.2.1 (26B131) for a new Mac base.
Upgrade from 1.2.0
If your inventory uses vm_image: rocky or vm_image: ubuntu, those names
now select Rocky Linux 10 and Ubuntu 26.04. Set them to el9 or u24 to
keep the 1.2.0 targets. An omitted image still selects Ubuntu 24.04 on the
host's native architecture. Run barn plan to review any change to an
existing deployment. Replacing a guest's image requires barn recreate.
On macOS, barn setup and barn up accept an active sharing service with both
custom subnet keys absent from its vmnet preferences. If macOS restricts access
to the preferences, preview reports the deferred check for both fresh
installation and repair of an existing Barn network. Once you approve
installation or repair, Barn reads the keys before writing network files or
restarting socket_vmnet. A conflicting subnet, an incomplete configuration,
or an unreadable preference file stops the operation without changing the host.
The preview also checks the host interfaces, routes, and selected node
addresses.
Linux clocks and images
Use barn time status to measure a running guest against the host and
barn time sync to correct it over management SSH. The guest can be offline
from the Internet. Startup checks correct offsets greater than two seconds
after the guest is ready. --no-wait skips the check. To check every minute,
run barn time auto enable. Use barn time auto disable to remove the job.
e, u, and d select Rocky Linux 10, Ubuntu 26.04, and Debian 13.
The a suffix selects arm64, while x and i select amd64. For example,
barn image info el10a and barn plan -I d13x select a distribution and
architecture together. Across all commands, an explicit --arch/-A or
BARN_ARCH value (including native) that conflicts with an
architecture-suffixed image alias produces an error; in YAML inventories, the
default vm_arch: native defers to an architecture-suffixed vm_image, while
a concrete vm_arch conflicts.
The signed catalog refreshes 12 artifacts across amd64 and arm64. It includes
Rocky Linux 9.9 and 10.3, new Debian 12 and 13 cloud builds, and new Ubuntu
22.04 and 26.04 cloud builds. Rocky 10.3 includes the kernel modules required
by Docker's default bridge networking and firewall. el8 and u22 are
deprecated. The catalog retains all previous exact versions. Barn 1.2.0 users
can also activate this catalog with barn update.
macOS guests and dependencies
On a Mac with no prepared base, barn mac setup and barn mac up select
Apple's macOS 27.2.1 restore image. On an existing installation, run
barn mac image update to select the new base for future VMs.
barn mac image ls shows which base each existing VM uses.
This release uses Go 1.27.4 and updates golang.org/x/crypto to 0.59.0,
golang.org/x/net to 0.63.0, github.com/klauspost/compress to 1.20.5,
and github.com/pierrec/lz4/v4 to 4.1.34. The packages include the
updated dependency license inventory.
Packaging uses GoReleaser 2.20.3, nFPM 2.49.0, and Syft 1.57.2. CI uses
actions/setup-go v7.1.0, deadcode 0.53.0, and govulncheck 1.10.0.
Installation and upgrade
Stop running macOS guests before replacing Barn.app, then upgrade:
brew update
brew upgrade pgsty/infra/barnOr use the versioned installer:
curl -fLO https://github.com/pgsty/barn/releases/download/v1.3.0/install.sh
BARN_VERSION=1.3.0 bash install.sh
barn versionThe installer verifies the archive against checksums.txt. The Darwin arm64
archive includes the Developer ID signed and notarized CLI, hosts helper,
and Barn.app; other archives and Linux DEB/RPM packages include the CLI
and matching helper. VM disks, keys, and state remain under BARN_HOME.
See the command reference,
full changelog, and
source changes since 1.2.0.