User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:public:deconz_lxc_howto [2019/10/05 21:38]
jose.d [Tweak container environment]
en:public:deconz_lxc_howto [2019/10/06 15:09] (current)
jose.d [configure autostart of container] fixed the autostart config
Line 361: Line 361:
 ==== configure autostart of container ==== ==== configure autostart of container ====
  
-as described in [[https://​doc.turris.cz/​doc/​en/​howto/​lxc|how-to]],​ edit ''/​etc/​lxc/lxc.conf''​ at Turris to automatically start our container:+as described in [[https://​doc.turris.cz/​doc/​en/​howto/​lxc|how-to]],​ edit ''/​etc/​config/lxc-auto''​ at Turris to automatically start our container:
  
 <​code>​ <​code>​
-root@turris:​~#​ cat /etc/lxc/lxc.conf  +root@turris:​~#​ cat /etc/config/lxc-auto  
-lxc.lxcpath = /srv/lxc +...
 config container config container
-        ​option name lxc_deconz +  ​option name lxc_deconz 
-        option timeout ​60+  option timeout ​30 
 +...
 root@turris:​~#​ root@turris:​~#​
 </​code>​ </​code>​
- 
-<WRAP center round alert 60%> 
-from unknown reason, auto-start of container is not working as expected. One has to press the button in LuCI ATM. investigation in progress... 
-</​WRAP>​ 
- 
 ====== Tips & tricks ====== ====== Tips & tricks ======