I have an Ubuntu repository server in my network. I want to create a lxc container using lxc-create
. How can i change the default repository of lxc-create
to my repository?
There isn't any option available on its manual.
I have an Ubuntu repository server in my network. I want to create a lxc container using lxc-create
. How can i change the default repository of lxc-create
to my repository?
There isn't any option available on its manual.
Set the environment variable MIRROR to your preferred mirror then use the
lxc-create
command:The 'ubuntu' template has
--mirror
and--security-mirror
options: