ALPINE-CONFIG(5)
π ALPINE-CONFIG(5) β bestie edition π¦
okay so this is a File Formats Manual page, and it's literally about alpine-config, the Alpine-specific tiny-cloud user-data format. grab a strawberry π and let's get into it.
β¨ NAME β¨
alpine-config β the Alpine-specific tiny-cloud user-data format. that's the whole vibe, no cap.
πΈ DESCRIPTION πΈ
so alpine-config takes the tiny-cloud-supported cloud-config(5) subset and extends it with Alpine-specific package repository stuff and autoinstall features. it's giving glow-up π
your user-data document must begin with the header:
#alpine-config
like, non-negotiable, it's the entry fee to the club π
and good news: all keys documented in cloud-config(5) are also supported in alpine-config. every single one. slay.
π ALPINE EXTENSIONS π
these are the Alpine-only extras, the main character additions π
apk.cacheβ sets the APK cache directory. tiny-cloud creates that directory and points/etc/apk/cacheat it. cute and functional πapk.repositoriesβ defines repository entries to write to/etc/apk/repositories. an entry can either be a mapping withbase_url,repos, and optionalversionfields, or just a complete repository URL. complete URLs are written unchanged β no editing, no meddling, exactly as you wrote them βοΈ- if
versionis omitted, tiny-cloud derives it from the running Alpine version when possible. that's the good stuff β¨ - when
apkis absent and no repository file exists, tiny-cloud falls back tosetup-apkrepos -1 -c. a little backup plan, iykyk.
- if
autoinstallβ controls unattended Alpine installation. the "just handle it for me" button π«Ά- if set to
true, tiny-cloud selects the largest empty disk automatically and reboots after installation. fully hands-off, iconic. - when expressed as a mapping, the supported keys are:
diskβ target disk path, orauto.rebootβ whether to reboot after installation. defaults totrue.swap_sizeβ swap size in megabytes or gigabytes usingMorGsuffixes.swapsizeβ deprecated alias forswap_size. do not specify both keys, fr fr, that's a mess nobody needs πroot_sizeβ root filesystem size in megabytes or gigabytes usingMorGsuffixes. when omitted, the root filesystem uses the remaining disk space.rootfsβ filesystem for the root partition. supported values areext2,ext3,ext4,btrfs, andxfs. when omitted,setup-diskusesext4.efiβ when set totrue, force EFI installation. this selects GPT partitioning and an EFI boot filesystem. highkey fancy π₯bootloaderβ bootloader to use. supported values aregrub,syslinux,zipl,raspberrypi-bootloader,u-boot,limine, andnone. when omitted,setup-diskselects the platform default.kernel_optsβ kernel command-line parameters to pass tosetup-disk.lvmβ when set totrue, request LVM mode forsetup-disk.
- if set to
π¦ NOTES π¦
because alpine-config includes the cloud-config(5) subset, you should use cloud-config(5) for shared keys such as users, write_files, packages, and runcmd β and this page for the Alpine-specific additions. right tool, right page, that's the assignment π
π EXAMPLES π
a more complete example, for when you want the full picture:
#alpine-config
user:
name: alpine
ssh_authorized_keys:
- ssh-ed25519 AAAA... user@example.com
apk:
cache: /var/cache/apk
repositories:
- base_url: https://dl-cdn.alpinelinux.org/alpine
version: edge
repos: [ "main", "community" ]
- https://packages.example.net/alpine/custom
package_update: true
packages:
- curl
- jq
autoinstall:
disk: auto
reboot: false
this example combines shared cloud-config(5) keys with Alpine-specific APK repository configuration and unattended installation settings. it's giving everything in one place and honestly? obsessed ππ
β SEE ALSO β
cloud-config(5), tiny-cloud(8) β go read those too, bestie, they're literally right there π
ngl, that's the whole page. go configure something iconic. π§ββοΈ
so yeah β that was ALPINE-CONFIG(5) from the File Formats Manual, dated 2026-08-24. mwah, bye bestie ππ
π¦ where this page comes from
- alpine 3.24: tiny-cloud-doc 3.4.1-r2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms