[lxc-users] Older Ubuntu Template - Natty 11.04

Fajar A. Nugraha list at fajar.net
Sun May 11 05:22:13 UTC 2014


On Sun, May 11, 2014 at 8:19 AM, TuxRaiderPen
<tuxraiderpen at wpascanner.com> 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
...

-- 
Fajar


More information about the lxc-users mailing list