CLOUD-AGENT(8)

NAME
cloud-agent - cloud provisioning for OpenBSD VMs

SYNOPSIS
cloud-agent [-nuv] interface

DESCRIPTION
The cloud-agent program manages the OpenBSD provisioning and VM interaction in cloud environments, including Microsoft Azure and Amazon AWS.

The options are as follows:

-n  Do not configure the system and skip the provisioning step.

-u  Deprovision and unconfigure the system. This deletes keys, passwords, and logs files without asking for permission.

-v  Produce more verbose output.

Enable cloud-agent in the hostname.if(5) of the VM's primary networking interface:

    # cat /etc/hostname.hvn0
    dhcp
    !/usr/local/libexec/cloud-agent "f"

FILES
/usr/local/libexec/cloud-agent
    The agent itself.
/usr/local/bin/cms
    The CMS binary that is used to decrypt messages from the Azure fabric.
/var/db/cloud-instance
    The instance ID as reported by the cloud. cloud-agent reprovisions the system when the value has changed.

SEE ALSO
meta-data(8), vmd(8)

AUTHORS
Reyk Floeter <reyk@openbsd.org>