To build the Ubuntu MAAS images:
sudo apt-get install packer ovmf qemu-system qemu-utils cloud-image-utils nbdkit libnbd-binIn case the full tools:
| # --- Wi-Fi --- | |
| install cfg80211 /bin/false | |
| install mac80211 /bin/false | |
| install iwlwifi /bin/false | |
| install iwlmvm /bin/false | |
| install iwldvm /bin/false | |
| install ath9k /bin/false | |
| install ath10k_pci /bin/false | |
| install ath11k_pci /bin/false | |
| install brcmfmac /bin/false |
To manage Lenovo ThinkCentre Tiny computers natively via Canonical MAAS (Metal as a Service) for power cycling and remote boot control, you need to target models equipped with Intel vPro (AMT) or AMD PRO (DASH).
Because micro-PCs do not have a dedicated baseboard management controller (BMC) like an enterprise server (IPMI/iDRAC), MAAS uses specific network-based power drivers to talk to these business-class desktop chipsets.
Here is the breakdown of which series work best and how to match them with MAAS.
| # /// script | |
| # requires-python = ">=3.11" | |
| # dependencies = [] | |
| # /// | |
| # uv run git_stats.py 2025 <optional author> | |
| import subprocess | |
| import sys | |
| from collections import defaultdict |
| FROM debian:testing | |
| ENV ZIG_VERSION="0.13.0" | |
| RUN apt-get update && \ | |
| apt-get install --yes --no-install-recommends --no-upgrade libgtk-3-dev libadwaita-1-dev git curl xz-utils ca-certificates | |
| ADD https://ziglang.org/download/$ZIG_VERSION/zig-linux-x86_64-$ZIG_VERSION.tar.xz / | |
| RUN tar -xf zig-linux-x86_64-$ZIG_VERSION.tar.xz && \ |
| { | |
| "createdBy": "Redirector v3.5.3", | |
| "createdAt": "2024-01-18T21:23:34.230Z", | |
| "redirects": [ | |
| { | |
| "description": "Twitter", | |
| "exampleUrl": "https://twitter.com/majek04/status/1334811330033946625", | |
| "exampleResult": "https://nitter.unixfox.eu/majek04/status/1334811330033946625", | |
| "error": null, | |
| "includePattern": "https://twitter.com/*", |
https://devices.ubuntu-touch.io/device/yggdrasil
Use the UBports installer: https://devices.ubuntu-touch.io/installer/. Current version 0.10.0 has dependency problems.
fastboottoolTo run terraform via a container while providing the aws-vault env variables:
docker run --rm \
-v `pwd`:/workspace \
-w /workspace/terraform \
--env-file <(aws-vault exec default -- env | grep AWS) \
--env TF_WORKSPACE=production \
hashicorp/terraform:1.1.6 \
init/plan/apply| FROM ubuntu:21.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| # Tools for the pyenv installer script | |
| curl \ | |
| git \ | |
| # Tools to build python from source |