Commit | Line | Data |
---|---|---|
c3c15dc7 KS |
1 | --- |
2 | config: | |
3 | core.https_address: "{{lxd_cluster_ip|default('[::]')}}:8443" | |
4 | {% if lxd_cluster_ip|default(false) %} | |
5 | cluster.https_address: {{lxd_cluster_ip}}:8443 | |
6 | {% endif %} | |
7 | images.auto_update_interval: "0" | |
8 | networks: [] | |
9 | {% if lxd_cluster|default(false) %} | |
10 | # Storage pools are configured per member | |
11 | storage_pools: [] | |
12 | {% else %} | |
13 | - config: | |
14 | source: tank/lxd | |
15 | description: "" | |
16 | name: default | |
17 | driver: zfs | |
18 | {% endif %} | |
19 | profiles: | |
20 | - config: | |
21 | boot.autostart: "true" | |
22 | user.vendor-data: |- | |
23 | #cloud-config | |
24 | manage_etc_hosts: True | |
25 | packages: | |
26 | - netplan.io | |
27 | - openssh-server | |
28 | runcmd: | |
29 | - ['mkdir', '-p', '/root/.ssh/authorized_keys'] | |
30 | - "echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBnCyGcahJXys7md2yb3jP8L6hLN3D72aZCzsqUrJDsC\nssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVFn/ymsG8LqPvgVzyMaSVzYCVn/440ME8O6AzbZG39' > /root/.ssh/authorized_keys" | |
31 | description: "" | |
32 | devices: | |
33 | eth0: | |
34 | name: eth0 | |
35 | parent: br102 | |
36 | nictype: bridged | |
37 | network: '' | |
38 | type: nic | |
39 | root: | |
40 | path: / | |
41 | pool: default | |
42 | type: disk | |
43 | size: 100GB | |
44 | name: default | |
45 | - config: | |
46 | boot.autostart: "true" | |
4fb86a2b | 47 | limits.cpu: "8" |
c3c15dc7 KS |
48 | limits.memory: "8192MB" |
49 | user.vendor-data: |- | |
50 | #cloud-config | |
51 | manage_etc_hosts: True | |
52 | packages: | |
53 | - netplan.io | |
54 | - openssh-server | |
55 | runcmd: | |
56 | - ['mkdir', '-p', '/root/.ssh/authorized_keys'] | |
57 | - "echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBnCyGcahJXys7md2yb3jP8L6hLN3D72aZCzsqUrJDsC\nssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVFn/ymsG8LqPvgVzyMaSVzYCVn/440ME8O6AzbZG39' > /root/.ssh/authorized_keys" | |
58 | description: "CI node" | |
59 | devices: | |
60 | eth0: | |
61 | name: eth0 | |
62 | parent: br102 | |
63 | nictype: bridged | |
64 | network: '' | |
65 | type: nic | |
66 | root: | |
67 | path: / | |
68 | pool: default | |
69 | type: disk | |
70 | size: 80GB | |
71 | name: ci-node | |
72 | - config: | |
73 | boot.autostart: "true" | |
4fb86a2b | 74 | limits.cpu: "8" |
c3c15dc7 KS |
75 | limits.memory: "8192MB" |
76 | description: "CI root node (VM)" | |
77 | devices: | |
78 | eth0: | |
79 | name: eth0 | |
80 | parent: br102 | |
81 | nictype: bridged | |
82 | network: '' | |
83 | type: nic | |
84 | root: | |
85 | path: / | |
86 | pool: default | |
87 | type: disk | |
88 | size: 80GB | |
89 | name: ci-rootnode | |
90 | projects: [] | |
91 | cluster: {{lxd_cluster|default(null)}} |