On Sun, May 11, 2014 at 12:22 PM, Fajar A. Nugraha <[email protected]> wrote: > On Sun, May 11, 2014 at 8:19 AM, TuxRaiderPen > <[email protected]> wrote: >> On Tuesday, May 06, 2014 20:47:24 Fajar A. Nugraha wrote: >> >>> The root cause of the problem is not the template. You'll have the >>> same proble installing on a VM (e.g. using CD image). See >>> http://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-fro >>> m-old-unsupported-release >> >> Yeah... I figured as much for the system once I got it installed, as I've got >> several actual physical ones I did that to... >> >>> For lxc, the workaround would be to create a new template based on the >>> old one, with the change mentioned on the link (i.e. ubuntu archive >>> location) >> >> OK.. >> >> I >> >> sudo cp lxc-ubuntu lxc-oldbuntu >> >> sudo kate lxc-oldbuntu >> >> Chage line 240 to: >> >> case $2 in >> amd64|i386) >> MIRROR=${MIRROR:-http:/old-releases.ubuntu.com/ubuntu} >> SECURITY_MIRROR=${SECURITY_MIRROR:-http://old- >> releases.ubuntu.com/ubuntu} >> ;; >> *) > > That's not the only place to change. > >> So something is not using that line for the minimal to start??? > > correct. Arguably it's a bug in ubuntu template. Find > download_ubuntu() and add this > > ... > download_ubuntu() > { > MIRROR=http://old-releases.ubuntu.com/ubuntu > ...
Scratch that. The current template should work without any changes if you specify --mirror. # lxc-create -n natty-test -t ubuntu -- -r natty --mirror http://old-releases.ubuntu.com/ubuntu -- Fajar _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
