Find a file
2018-05-15 23:16:57 +02:00
agent /var/run is cleared on boot, store user-data in /etc instead 2018-05-08 12:24:32 +02:00
cms Fix previous 2018-05-15 23:16:57 +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 Fix typo fill -> file 2017-06-29 13:53:58 +01:00

cloud-agent for OpenBSD

This is just experimental. Be warned.

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.

Prerequisites

  • OpenBSD 6.1 or higher, nothing else.

Files

  • /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.

Usage

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 OpenBSD VMM (with meta-data), create a file /etc/hostname.vio0

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

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

Author

Reyk Floeter.

See the License file for more information.