diff --git a/agent/main.c b/agent/main.c index ed44b3a..70fd381 100644 --- a/agent/main.c +++ b/agent/main.c @@ -1110,7 +1110,8 @@ dhcp_getendpoint(struct system_config *sc) sc->sc_addr.ip = sc->sc_endpoint; sc->sc_addr.family = 4; - log_debug("%s: %s", __func__, ep); + if (log_getverbose() > 2) + log_debug("%s: %s", __func__, ep); return (0); } diff --git a/cloud-agent.md b/cloud-agent.md index 4ef3ea3..28a1a2a 100644 --- a/cloud-agent.md +++ b/cloud-agent.md @@ -8,6 +8,7 @@ CLOUD-AGENT(8) - System Manager's Manual **cloud-agent** \[**-nuv**] +\[**-c** *cloud*\[,*cloud*...]] \[**-p** *length*] \[**-r** *rootdisk*] \[**-t** *timeout*] @@ -19,10 +20,40 @@ CLOUD-AGENT(8) - System Manager's Manual The **cloud-agent** program manages the OpenBSD provisioning and VM interaction in cloud -environments, including Microsoft Azure and Amazon AWS. +environments. The options are as follows: +**-c** *cloud*\[,*cloud*...] + +> Probe a list of cloud stacks for provisioning in the specified order. +> If this option is not specified, +> **cloud-agent** +> tries to detect the environment and possible cloud stacks automatically. +> Supported +> *cloud* +> stacks are: + +> **azure** + +> > Microsoft Azure + +> **cloudinit** + +> > Generic cloud-init + +> **ec2** + +> > Amazon AWS EC2 + +> **opennebula** + +> > OpenNebula + +> **openstack** + +> > OpenStack + **-p** *length* > Generate and set a random password for the default user. @@ -116,4 +147,4 @@ vmd(8) Reyk Floeter <[reyk@openbsd.org](mailto:reyk@openbsd.org)> -OpenBSD 6.5 - June 5, 2019 +OpenBSD 6.5 - June 11, 2019