Go to file
2019-05-10 11:33:15 +02:00
agent If root, don't overwrite doas.conf 2018-08-15 13:48:51 +02:00
cms Unbreak cloud-agent's cms build on newer LibreSSL (OpenBSD 6.5) 2019-05-10 11:33:15 +02:00
extras Initial commit 2017-06-29 11:40:48 +02:00
LICENSE.md Add README and LICENSE 2017-06-29 12:08:38 +02:00
Makefile Initial commit 2017-06-29 11:40:48 +02:00
README.md Add initial support for OpenNebula contextualization. 2018-08-14 00:34:25 +02:00

cloud-agent for OpenBSD

This is a simple OpenBSD-specific agent that aims to handle provisioning and cloud initialization on public clouds such as Microsoft Azure and Amazon AWS. For OpenBSD on Azure, it is a minimal alternative to the WALinuxAgent.


  • OpenBSD 6.1 or higher, nothing else.


  • /usr/local/libexec/cloud-agent
  • /usr/local/bin/cms

The CMS binary is a port of OpenSSL's CMS tool to LibreSSL. LibreSSL has removed CMS which is required by Azure.


Installation is easy, cloud-agent detects the cloud type automatically.

  • On Microsoft Azure, create a file /etc/hostname.hvn0

  • On Amazon AWS, create a file /etc/hostname.xnf0

  • On Exoscale, create a file /etc/hostname.vio0

  • On OpenBSD VMM (with meta-data), create a file /etc/hostname.vio0

  • On OpenStack/VMware, create a file /etc/hostname.vmx0

  • On OpenNebula, create a file /etc/hostname.if where if is the name of your primary interface.

  • The content of the file is identical for all of them:

      !/usr/local/libexec/cloud-agent "\$if"


Reyk Floeter.

See the License file for more information.