<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi,<br>
I'm using lxd and I created a simple container<br>
when I restart my server, my container is stopped<br>
<br>
+------+---------+------+------+<br>
| NAME | STATE | IPV4 | IPV6 |<br>
+------+---------+------+------+<br>
| mail | STOPPED | | |<br>
+------+---------+------+------+<br>
<br>
I created manually config file in container folder (should I ? lxc
launch should create empty config file no ?)<br>
<br>
vim /var/lib/lxd/lxc/mail/config<br>
<br>
I put the following in my config file<br>
<br>
lxc.start.auto = 1<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
LXC_AUTO is set to "true" in /etc/default/lxc<br>
<br>
lxc-autostart did nothing<br>
and when I restart my server, my container is always STOPPED<br>
<br>
am I missing something ?<br>
</body>
</html>