Files
ubicloud/rhizome/common/lib/arch.rb
Daniel Farina 198dba9d1a Support arm64 binaries as well as x64 binaries
Refactor some data structures to move towards coping with the
additional complexity, but fundamentally, add branches to download and
use different binaries on different platforms.

Having applied this patch, and having prepared hosts with a current
Rhizome, it is possible to provision an arm64 VM like so:

    Prog::Vm::Nexus.assemble("pubkey", dev_project.id, arch: "arm64")

As the host architectures are "learned" from teh host, there is no
need to change how `Prog::Vm::HostNexus.assemble` is called.
2023-11-14 13:04:31 -08:00

6 lines
91 B
Ruby

# frozen_string_literal: true
require_relative "arch_class"
Arch = ArchClass.from_system