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