File: data.yaml

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (34 lines) | stat: -rw-r--r-- 1,552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
cc_lxd:
  description: |
    This module configures LXD with user-specified options using ``lxd init``.

    - If ``lxd`` is not present on the system but LXD configuration is provided,
      then ``lxd`` will be installed.
    - If the selected storage backend userspace utility is not installed, it
      will be installed.
    - If network bridge configuration is provided, then ``lxd-bridge`` will be
      configured accordingly.
  examples:
  - comment: |
      Example 1: Simplest working directory-backed LXD configuration.
    file: cc_lxd/example1.yaml
  - comment: |
      Example 2: ``lxd-init`` showcasing cloud-init's LXD config options.
    file: cc_lxd/example2.yaml
  - comment: >
      Example 3: For more complex non-interactive LXD configuration of
      networks, storage pools, profiles, projects, clusters and core config,
      ``lxd:preseed`` config will be passed as stdin to the command:
      ``lxd init --preseed``.

      See the
      `LXD non-interactive configuration <https://documentation.ubuntu.com/lxd/en/latest/howto/initialize/#non-interactive-configuration>`_
      or run ``lxd init --dump`` to see viable preseed YAML allowed.

      Preseed settings configuring the LXD daemon for HTTPS connections on
      192.168.1.1 port 9999, a nested profile which allows for LXD nesting on
      containers and a limited project allowing for RBAC approach when defining
      behavior for sub-projects.
    file: cc_lxd/example3.yaml
  name: LXD
  title: Configure LXD with ``lxd init`` and (optionally) ``lxd-bridge``