CLOUD-INIT-PER(1)
β¨ CLOUD-INIT-PER(1) β General Commands Manual β¨
π NAME
okay so cloud-init-per is the tool that runs a command with arguments at a specific frequency π literally that's the whole vibe β¨
πΈ SYNOPSIS
cloud-init-per <frequency> <name> <cmd> [ arg1 [ arg2 [...]]]
π¦ DESCRIPTION
Run a command with arguments at a specific frequency. π
okay so this utility makes it way easier to use boothooks or bootcmd on a per "once" or "always" basis π₯ for example:
- [ cloud-init-per, once, mymkfs, mkfs, /dev/vdb ]
bestie, fun fact: the cloud-init-per command replaced the cloud-init-run-module command π so if you see the old one floating around, it's giving outdated π
π OPTIONS
frequencyβ ok so this can be one of the following values:onceβ run only once and do not re-run for new instance-id πinstanceβ run only once for a given instance-id and re-run for new instance-id π§alwaysβ run every boot π
nameβ a name to give the command to run so it shows up in logs πcmd [ arg1 [ arg2 [...]]]β the actual command to run, followed by any additional arguments π
π«Ά COPYRIGHT
Copyright (C) 2020 Canonical Ltd. License GPL-3 or Apache-2.0 π
π SEE ALSO
full documentation lives at: <https://docs.cloud-init.io> β¨
Bestie, this page came from General Commands Manual, CLOUD-INIT-PER(1) π Ily, go slay your boot scripts ππ¦β¨
π¦ where this page comes from
- alpine 3.24: cloud-init-doc 26.1-r3 Β· Apache-2.0 OR GPL-3.0-only
- arch rolling: cloud-init 26.2-1 Β· GPL-3.0-only OR Apache-2.0
- centos-stream 10: cloud-init 24.4-7.el10.1 Β· Apache-2.0 OR GPL-3.0-only
- centos-stream 9: cloud-init 24.4-8.el9.1 Β· ASL 2.0 or GPLv3
- debian trixie: cloud-init 25.1.4-1+deb13u1 Β· GPL-3.0-only OR Apache-2.0
- fedora 43: cloud-init 25.2-10.fc43 Β· Apache-2.0 OR GPL-3.0-only
- fedora 43: cloud-init 25.2-7.fc43 Β· Apache-2.0 OR GPL-3.0-only
- fedora 44: cloud-init 25.3-3.fc44 Β· Apache-2.0 OR GPL-3.0-only
- fedora 44: cloud-init 26.1-1.fc44 Β· Apache-2.0 OR GPL-3.0-only
- opensuse-leap 16.0: cloud-init 25.1.3-160000.3.1 Β· GPL-3.0
- opensuse-leap 16.0: cloud-init 25.1.3-160000.3.1 Β· GPL-3.0
- opensuse-leap 16.0: cloud-init 25.1.3-160000.3.1 Β· GPL-3.0
- opensuse-leap 16.0: cloud-init 25.1.3-160000.3.1 Β· GPL-3.0
- ubuntu jammy: cloud-init 25.1.4-0ubuntu0~22.04.1 Β· GPL-3.0-only OR Apache-2.0
- ubuntu jammy: cloud-init 26.1-0ubuntu1~22.04.1 Β· GPL-3.0-only OR Apache-2.0
- ubuntu noble: cloud-init 25.1.4-0ubuntu0~24.04.1 Β· GPL-3.0-only OR Apache-2.0
- ubuntu noble: cloud-init 26.1-0ubuntu1~24.04.1
- ubuntu noble: cloud-init 26.2-0ubuntu1~24.04.2 Β· GPL-3.0-only OR Apache-2.0
- ubuntu questing: cloud-init-base 25.3~2g890873f5-0ubuntu2
- ubuntu questing: cloud-init-base 26.1-0ubuntu1~25.10.1 Β· GPL-3.0-only OR Apache-2.0
- ubuntu resolute: cloud-init-base 26.1-0ubuntu2 Β· GPL-3.0-only OR Apache-2.0
- ubuntu resolute: cloud-init-base 26.1-0ubuntu3~26.04.1
- ubuntu resolute: cloud-init-base 26.2-0ubuntu1~26.04.1 Β· GPL-3.0-only OR Apache-2.0
- ubuntu stonking: cloud-init-base 26.2-0ubuntu2 Β· GPL-3.0-only OR Apache-2.0
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms