1,221
edits
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 120: | Line 120: | ||
- <Lemieux's public key goes here> | - <Lemieux's public key goes here> | ||
For more about the YAML format used by CloudInit, see [http://www.yaml.org/spec/1.2/spec.html#Preview YAML Preview]. Note that YAML is very picky about white space formatting, so that there must be a space after the "-" before your public key string. Also, this configuration overwrites the default user that is added when no CloudInit script is specified, so the users listed in this configuration script will be the ''only'' users on the newly created VM. It is therefore vital to have at least one user with sudo permission. More users can be added by simply including more <code>- name: username</code> sections. | |||
If you wish to preserve the default user created by the distribution (debian, centos, ubuntu, etc.), use the following form: | If you wish to preserve the default user created by the distribution (debian, centos, ubuntu, etc.), use the following form: |
edits