mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-09 23:10:22 +07:00
Initialize LXD with preseed file
This commit is contained in:
parent
ad348aa697
commit
a0b01e6117
@ -4,8 +4,13 @@
|
|||||||
name: lxd
|
name: lxd
|
||||||
classic: yes
|
classic: yes
|
||||||
|
|
||||||
|
- name: Copy LXD preseed
|
||||||
|
template:
|
||||||
|
src: lxd_preseed.yml.j2
|
||||||
|
dest: /tmp/lxd_preseed.yml
|
||||||
|
|
||||||
- name: Initialize LXD
|
- name: Initialize LXD
|
||||||
command: lxd init --auto
|
shell: "lxd init --preseed < /tmp/lxd_preseed.yml"
|
||||||
|
|
||||||
- name: Make LXD to be available over the network
|
- name: Make LXD to be available over the network
|
||||||
command: lxc config set core.https_address "[::]"
|
command: lxc config set core.https_address "[::]"
|
||||||
|
Loading…
Reference in New Issue
Block a user