1

I am trying to change my lxc storage directory from /var/lib/lxc to something else like /var/directory1

I added the line:

lxc.lxcpath=/var/directory1

in the lxc configuration file in /etc/lxc/lxc.conf, but nothing changes.

Does anybody have an Idea about this? Thanks.

1 Answer 1

1

man lxc-create says :

-P, --lxcpath=PATH
          Use an alternate container path. The default is /var/lib/lxc.

Did you try this ?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .