Fix invalid YAML in document

reviewable/pr18780/r1
Hiroaki Nakamura 9 years ago
parent f46d3086d6
commit fd9a6a7f26

@ -39,7 +39,8 @@ options:
required: false required: false
config: config:
description: description:
- The config for the container (e.g. '{"limits.cpu": "2"}'). - >
The config for the container (e.g. {"limits.cpu": "2"}).
See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1 See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1
- If the container already exists and its "config" value in metadata - If the container already exists and its "config" value in metadata
obtained from obtained from
@ -52,8 +53,9 @@ options:
required: false required: false
devices: devices:
description: description:
- The devices for the container - >
(e.g. '{ "rootfs": { "path": "/dev/kvm", "type": "unix-char" }'). The devices for the container
(e.g. { "rootfs": { "path": "/dev/kvm", "type": "unix-char" }).
See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1 See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1
required: false required: false
ephemeral: ephemeral:
@ -63,10 +65,13 @@ options:
required: false required: false
source: source:
description: description:
- The source for the container - >
(e.g. '{ "type": "image", "mode": "pull", The source for the container
"server": "https://images.linuxcontainers.org", "protocol": "lxd", (e.g. { "type": "image",
"alias": "ubuntu/xenial/amd64" }'). "mode": "pull",
"server": "https://images.linuxcontainers.org",
"protocol": "lxd",
"alias": "ubuntu/xenial/amd64" }).
See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1 See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1
required: false required: false
state: state:

Loading…
Cancel
Save