Am 11.07.2015 um 06:56 schrieb picard:
Automatically start your containers
To automatically start your containers at boot, all you have to do is to put symlinks to your containers config files in the /etc/lxc/auto/ directory. For example for your previously created container (it's important that your symlink has the same name as your container):
sudo ln -s /var/lib/lxc/myfirstcontainer/config /etc/lxc /auto/myfirstcontainer quelle: http://sylvain.fankhauser.name/setting-up-lxc-containers-in-30-minutes-debia...
also habe ich kurzer hand # ls -all /etc/lxc/auto insgesamt 8 drwxr-xr-x 2 root root 4096 Jul 11 06:50 ./ drwxr-xr-x 3 root root 4096 Jul 11 06:49 ../ lrwxrwxrwx 1 root root 23 Jul 11 06:49 git -> /var/lib/lxc/git/config lrwxrwxrwx 1 root root 25 Jul 11 06:49 mysql -> /var/lib/lxc/mysql/config lrwxrwxrwx 1 root root 26 Jul 11 06:49 nagios -> /var/lib/lxc/nagios/config lrwxrwxrwx 1 root root 23 Jul 11 06:50 web -> /var/lib/lxc/web/config
erstellt.
da ich keine ahnung von lxc habe, bitte mal testen ob autostart klappt.
Ich gucke gleich mal drüber und teste es
LG Tarek