Skip to content

Instantly share code, notes, and snippets.

View hmr's full-sized avatar

Hatchi Maru hmr

  • Appriori Inc.
  • Tokyo, Japan
  • 12:23 (UTC +09:00)
View GitHub Profile
@hmr
hmr / user-data
Last active September 27, 2025 06:27
Ubuntu Server autoinstall with btrfs under the encrypted root partition which is automatically unlocked by a key file during boot
#cloud-config
# vim: syntax=yaml
# See the autoinstall documentation at:
# https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html
# This configuration was inspired by https://gist.github.com/wpbrown/b688a934339cb4228c3faf5b527fbe5b
# This configuration was tested with Ubuntu Server 25.04 for risc-v ISO.
autoinstall:
version: 1