I want to install with salt lxd containers, and I got only errors. I'm beginner with salt.
I've cloned lxd-formula from GitHub, and I put folders under /srv/salt:
/srv/salt/lxd
/srv/salt/_modules
/srv/salt/_states
and I modify file_roots like this:
file_roots:
base:
- /srv/salt
- /srv/formula/lxd-formula
and I try to install a container with this config test/test4.sls:
lxd:
containers:
local:
ubuntu-xenial:
running: True
source: xenial/amd64
and used this command:
salt '*hv-04*' state.sls test.test4
and I've got this error:
State 'lxd' in SLS 'test.test3' is not formed as a list