/srv/irclogs.ubuntu.com/2014/05/17/#ubuntu-installer.txt

CarlFKcjenkin2: I think you misread - where to you see: won't be able to preseed these using any method besides through the initrd,00:43
cjenkin2CarlFK: https://help.ubuntu.com/12.10/installation-guide/i386/preseed-contents.html00:45
cjenkin2Under the heading "Localization"00:45
CarlFKthis?  "Setting localization values will only work if you are using initrd preseeding. With all other methods the preconfiguration file will only be loaded after these questions have been asked.  "00:48
cjenkin2Right00:49
cjenkin2Am I misreading it?00:49
CarlFKyes ;)00:49
cjenkin2You think you could help me read it correctly? xD What's the difference between localization values and selecting locale, language, keyboard?00:50
CarlFKI thinks so.. I am not an expert, but I know a bit about it00:51
CarlFKare you installing 12.10?00:51
cjenkin2No, 10.1000:52
cjenkin2on an ARM architecture, even00:53
CarlFKoh my ;)  Some of the keys (that's what I call the preseed file: keys and values) some of the keys may have changed00:56
infinity10.10?  Seriously?00:57
cjenkin2That wouldn't surprise me.00:57
infinityAre you familiar with the concept of EOL software?00:57
cjenkin2infinity: Yup. And Linux kernel 2.6.38, even00:57
cjenkin2Yes, but the higher-ups think Canonical will host it forever regardless, and / or are willing to host it themselves if necessary00:58
infinityErm, hosting isn't the issue, no one's FIXING it.00:58
infinityIt's riddled with security holes.00:58
antarusisn't it beer oclock anyways? :p00:59
cjenkin2lol01:00
cjenkin2I don't think anyone's too concerned at this point about the security issues01:00
CarlFKhttps://help.ubuntu.com/10.10  "The requested URL /10.10 was not found on this server."01:00
cjenkin2oh dear01:00
CarlFKin case the higher ups need some evidince01:00
CarlFKso not having the docs is going to add to the fun01:00
cjenkin2We have PowerDeveloper, it's fine01:00
cjenkin2--sarcasm01:01
infinitycjenkin2: You really, really should talk these higher ups into basing their work on an LTS (12.04 or 14.04)01:01
infinityAnyhow, the claim that you need to us initrd or cmdline presseing for locales may well be true.01:01
antarusbase it on 10.04, that was na lts!01:01
infinityNot that cmdline preseeding is hard.01:01
antarusyou have a good 10 months left ;p01:01
infinityantarus: I'm not sure if I should palm my own face, or yours.01:02
cjenkin2lol01:02
infinityantarus: Can we settle on both?01:02
CarlFKantarus: oh right.. and there are docs01:02
CarlFKhttps://help.ubuntu.com/10.04/installation-guide/i386/preseed-contents.html01:02
CarlFKcjenkin2: I think what is confusing you:01:03
cjenkin2CarlFK: Ah, thanks! I trusted my former co-worker to link the the appropriate tutorial, should have checked the version01:03
CarlFKsome values get asked before the preseed file can be loaded - good example is dhcp/static can not be read from a preseed file hosted on an http server01:04
CarlFKso in that case, the network settings have to be passed some other way01:04
antarusinfinity: slap me? how dare you01:04
CarlFKlike on the kernel line01:04
antarusinfinity: sadly I am moving on from the land of Goobuntu, so I may troll in here less often01:04
cjenkin2CarlFK: I have a question about that actually. It seems strange to me to set one-time preseed values from the kernel bootargs01:05
CarlFKcjenkin2: keep in mind it is the line that boots the installer, not the kernel that gets installed01:06
infinityantarus: Aww.  What's the next career move for you?01:06
cjenkin2CarlFK: I should direct you again to my earlier comment: we install our OS onto the machine first, then re-run ubiquity01:07
antarusinfinity: I'll be on the team that runs blobstore at google01:07
cjenkin2Wait, can you set the installer bootargs, have that configured as the default, then have it still be the default when you re-run?01:07
infinityantarus: I can only assume that's the codename for an online grocery store targetted at the average American?01:07
CarlFKcjenkin2: oh. I thought that was a workaround to not being able to do someting01:08
antarusinfinity: oh no thats the real name of thing01:08
infinityantarus: Oh, like a storage thing, I guess?01:08
antarusyeah01:08
cjenkin2CarlFK: Nope. I think it was done in order to pre-image the hardware and give it to customers01:08
infinitycjenkin2: Err, wait, if you're using oem-config, why would you be preseeding locale?01:09
CarlFKI like cinder block better.  reminds me of the book shelves you build out of cinder blocks :D01:09
infinitycjenkin2: That's the whole POINT of oem-config, is to let the user pick.01:09
cjenkin2I would like to set defaults with preseeding, is all01:09
cjenkin2In particular,01:09
cjenkin2we have a stupid keyboard that I had to make a special layout for01:10
cjenkin2And I would like this to be the default layout at config time01:10
cjenkin2Also it's intended for Spanish speakers, but the default is US / English01:11
infinitySo, I kinda missed the bit where you're using oem-config before.  The magic (relative term here) of oem-config is that it's operating on an already-installed system.01:11
infinitySo, you install, you can configure things a certain way, then oem-config-prepare.01:11
infinityWhich means between "install" and "prepare" would be where you'd configure your weird keyboard.01:11
cjenkin2Yes. And so the selected configuration will be the default when I run oem-config-prepare ?01:12
infinityPossibly.01:12
xnoxinfinity: cjenkin2: there is hidden magic to trigger pre-seeding oem-config end-user setup. This way keys that are preseeded are not asked for, but everything else is. (if any)01:12
infinityxnox: Keep in mind he's doing this on 10.10 (yes, really), so if oem-config works at all, it could be a mirable.01:12
infinityOr a miracle.01:12
cjenkin2xnox: I want the user to still make the choice01:13
cjenkin2My logic is: the keyboard is stupid and most people type from muscle memory, so they should have the option of selecting a keyboard that is they way their fingers work01:13
cjenkin2but it seems like the default should be what's actually on the printed keyboard01:13
cjenkin2infinity: Alright, I think I will try making the installer bootargs preseed keyboard, layout, and locale01:15
xnoxcjenkin2: passing d-i locale and keyboard config on the kernel cmdline should achieve that, i think.01:15
cjenkin2and see if oem-config-prepare respects these choices01:15
xnoxyeah, that's the best strategy.01:15
cjenkin2xnox: Cool :)01:15
infinityIf it doesn't, you can just keep it on the cmdline for the firstboot too. :P01:15
infinityOh, but I dunno if oem-config reads cmdline.01:16
infinityWell, this'll all be experimentation anyway.01:16
cjenkin2infinity: Right01:16
infinityEven if we all knew how it all works in oem-config in 14.04 (which, clearly, even the people who wrote half of it are fuzzy on), none of us have a clue how 10.10 works anymore. :)01:16
infinityHave I mentioned yet that you should use a newer Ubuntu? :)01:17
cjenkin2Thank you guys for being so helpful! :)01:17
cjwatsonIf pressed to ask without looking at the code, I'd be inclined to preseed oem-config by way of debconf-set-selections or similar, rather than by hoping that things like kernel args will work.01:17
cjenkin2infinity: lol. I'll talk to my bosses, but we have very few people to work on this01:17
cjwatsonShould be more reliable.01:17
infinityIf it's just a question of having a crappy vendor kernel you can't upgrade, precise's userspace should be perfectly fine with a 2.6.38 kernel.01:17
cjwatsons/to ask/to answer/01:18
infinitycjenkin2: Right, debconf-set-selections was sort of what I was driving at with the "set it before running oem-config-prepare".01:18
infinityErr..01:18
infinitycjwatson: ^01:18
infinityOr similar.01:18
cjwatsonI don't recall for certain whether it works at all though; I think in particular there has been a tension between "make default keyboard in oem-config respect preseeded value" and "make default keyboard in oem-config be something that's reasonable for the locale you picked"01:19
cjenkin2infinity, cjwatson: I see. I will look at that then01:19
cjwatsonAnd since both of those end up being communicated by basically the same mechanism, it's a tough problem to resolve01:19
cjwatson(This is all from n-year-old memory though)01:19
cjenkin2Anyway, thanks again you guys :)01:22
cjenkin2In addition to grunt programmer I am also errand-runner, so I have to go FedEx some machines now01:24
cjwatsonPreseeding the locale at least should work01:25
cjwatsonGood luck01:25
cjwatson(And I think oem-config forces re-asking questions in many cases, but failing that, you can preseed a question and then preseed its seen flag to false; debconf-set-selections(1) has an example)01:26
infinitycjwatson: He wants it to be seen, just with a different default.  I think.01:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!