The store needs to know what default distribution and arch to use for images built with a blueprint that has no distro set. Store the host's architecture name along side the host's distribution details. SetHostArchName() allows this host arch to be overridden for testing, which uses arch names that do not match any host. |
||
|---|---|---|
| .. | ||
| distroregistry.go | ||
| distroregistry_test.go | ||