[Lxc-users] autostart nit: to .conf or not to .conf?
Dan Kegel
dank at kegel.com
Tue Aug 13 03:32:20 UTC 2013
I see lxc-ls insists on conf files ending in .conf, but the upstart job doesn't?
Seems like a mismatch there.
$ lxc --version
Sorry, command-not-found has crashed! Please file a bug report at:
...
$ lxc-ls --version
lxc-ls: error: unrecognized arguments: --version
$ lxc-version
lxc version: 0.9.0
$ cat /etc/issue
Ubuntu 13.04 \n \l
$ ls -l /etc/lxc/auto
total 0
lrwxrwxrwx 1 root root 29 Aug 12 20:09 minecraft ->
/var/lib/lxc/minecraft/config
$ sudo reboot
...
$ sudo lxc-ls --fancy
NAME STATE IPV4 IPV6 AUTOSTART
-----------------------------------------------
foo STOPPED - - NO
minecraft RUNNING 10.0.3.247 - NO
ubu1004 STOPPED - - NO
$ sudo mv minecraft minecraft.conf
$ sudo lxc-ls --fancy
NAME STATE IPV4 IPV6 AUTOSTART
-----------------------------------------------
foo STOPPED - - NO
minecraft RUNNING 10.0.3.247 - YES
ubu1004 STOPPED - - NO
More information about the lxc-users
mailing list