10 Commits
Author SHA1 Message Date
Auke Kok 9644cbdc5d Add wait_for_network: <boolean>.
This option allows users to suspend execution of the cloud-init provisioning
until a valid network is detected.

This detection is currently done through requesting a DNS lookup for one
of the Clear Linux NTP service IP addresses (this is a RR record, we
don't actually look at the result).

This lookup is not infinite. After 5 minutes, the wait exits no matter
what even if there is no network detected.

The option can be provided manually. `packages` and `package_upgrade`
options *imply* this option, but one can explicitly disable the wait
by providing it early in the cloud-config file with a value of `false`.

The wait routing is active - it will retry relatively quickly to detect
an active connection. Any failure will result in another retry. In
a fully private network without public DNS, this will not work.

The DNS hostname used for testing can be manipulated through the
`-with-dnstestaddr=<hostname>` configure flag. You shouldn't put an
IP address in here, since that fully disables any network testing.
2019-10-29 11:33:17 -07:00
Auke Kok 1f7c95ba1a Update man pages with proper formatting. 2018-11-16 10:58:38 -08:00
Auke Kok 590b3aab6a Convert man pages to .md format, add ronn to Makefile.am. 2017-06-07 13:58:18 -07:00
Auke Kok cd80f41eb0 Update sudo documentation.
clr-cloud-init will now always insert a username as argument
1 on the sudoers file written out, so call that out in the
man page.
2016-05-12 14:30:51 -07:00
Julio Montes b59627e781 implement fbootcmd ccmodule
fbootcmd ccmodule will run system commands only
on first boot
2016-02-25 15:16:47 -06:00
Julio Montes 3c94634676 implement envar module
update cloud-config man page
update examples
2015-11-30 15:10:23 -06:00
Julio Montes 457a41b261 update cloud-config documentation
update hostname and runcmd doc
2015-11-27 12:49:31 -06:00
Julio Montes 0be3c8ebf5 implement hostname module
this module is able to set the system's hostname

add hostname module documentation
update userdata test file
2015-11-20 16:59:08 -06:00
Auke Kok ec4841a0f1 Add section describing user-data formats supported.
user-data can be either in the cloud-config format, or
a shell script. This paragraph adds this difference and
how it's treated.
2015-11-09 22:25:19 +00:00
Auke Kok c7d1d9dda7 Initial commit 2015-11-05 18:38:10 +00:00