I am a newbie to the world of Linux Containers. I looked at quite a few webpages, wikipedia and checked out the questions at stackexchange but without any answers. Maybe my 'keyword fu' is not strong enough or something else.
The thing is let's say I want to make my linux container. The first command invariably is :-
sudo lxc-create -t debian -n p1
It's usually 'ubuntu' for the template name but as I am a Debian fanboy have replaced it with debian. The end result of either is the same, it starts downloading the components from debian.org via the lxc-debian template written at /usr/share/lxc/templates.
$ sudo lxc-create -t debian -n debian-n
[sudo] password for shirish:
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-wheezy-amd64 ...
Downloading debian minimal ...
I: Retrieving Release
I do have a local debian-wheezy.iso image file. Is there a way to tell it to instead use that local .iso image instead of going to the web.
Looking forward for the reply.
Aucun commentaire:
Enregistrer un commentaire