Comment 3 for bug 221231

Revision history for this message
Nick Barcet (nijaba) wrote : Re: [Bug 221231] Re: ubuntu-vm-builder should set up a locale, timezone, etc

Neal McBurnett wrote:
> Except that I'm guessing that the line to set LANG=C at the top needs
> to go now, or at least the original LANG needs to be saved for the

Thanks for spotting this Neal. I fixed that in my branch.

> I hacked a bit with moving the do_copy_settings to above
> do_network_setup which removes most of the PERL locale complaints
> without setting LANG=C, but not all of them. Perhaps better to see if
> you had thoughts on this before I blindly hack any more, since I
> really haven't looked at what is going on behind the scenes enough....

I'm not 100% sure of it myself but I would tend to think this is one of
the last operation we want to do on the vm we are building, hence the
place where I called it. So for now I am saving the current locale
before it set to C. I hope Soren would have a more authoritative answer
on that.