cloud-init-per
Run a command with arguments at a specific frequency
- Provided by: cloud-init (Version: 26.2-0ubuntu1~24.04.2)
- Report a bug
Run a command with arguments at a specific frequency
cloud-init-per <frequency> <name> <cmd> [ arg1 [ arg2 [...]]]
Run a command with arguments at a specific frequency.
This utility can make it easier to use boothooks or bootcmd on a per "once" or "always" basis. For example:
- [ cloud-init-per, once, mymkfs, mkfs, /dev/vdb ]
The cloud-init-per command replaced the cloud-init-run-module command.
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
Copyright (C) 2020 Canonical Ltd. License GPL-3 or Apache-2.0
Full documentation at: <https://docs.cloud-init.io>