File size: 5,436 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[02:57] <evand> ok thanks
[05:52] <CIA-8> ubiquity: superm1 * r2410 ubiquity/scripts/mythbuntu/mythbuntu_install.py: add support for modular lircrc generation
[10:11] <tjaalton> cjwatson: I'm merging xkeyboard-config, and I think it's no longer necessary to ship the symlinks in /etc/X11/xkb, do you agree?
[10:13] <tjaalton> x11-xkb-utils (former xkbutils) doesn't ship symlinks there anymore, and the tools use the new path
[10:21] <cjwatson> please keep them to simplify upgrades from dapper until after hardy
[10:22] <tjaalton> ok
[17:37] <mathiaz> Hi :) - what's the option in the preseed file to enable an sshd server during instllation in hardy ?
[17:38] <mathiaz> and also remote syslogging
[17:39] <evand> I imagine it's something like d-i preseed/early_command string anna-install openssh-client-udeb
[17:39] <evand> but I'm not sure if that's exactly correct
[17:40] <mathiaz> evand: openssh-client ? or openssh-server ?
[17:41] <cjwatson> no, I think you're looking for network-console
[17:41] <cjwatson> see the installation guide, under "Using the Ubuntu Installer" / "Using Individual Components" / "Miscellaneous"
[17:42] <cjwatson> oh, and to use it by default, setting anna/choose_modules to network-console should do it
[17:42] <mathiaz> cjwatson: is the installation guide for gutsy on help.u.c ?
[17:42] <cjwatson> remote syslogging is missing at present; Matt Proud at Google was working on it, and I have some back mail on the subject to review
[17:43] <cjwatson> mathiaz: no, but IIRC feisty's will do; otherwise install the installation-guide-i386 package and you can have it locally
[17:43] <mathiaz> cjwatson: ah... thanks.
[17:43] <evand> ah, I misread.  Sorry about that.
[17:45] <mathiaz> hum... network-console is used to manually install over ssh.
[17:45] <cjwatson> yes, is that not what you asked for?
[17:45] <mathiaz> What I'd like to do is to use preseed to automate the installation
[17:46] <mathiaz> and if something goes wrong, I'd like to be able to ssh into the box to debug it
[17:46] <cjwatson> hmm, that's not really available
[17:46] <cjwatson> short of network-console
[17:47] <cjwatson> you can install openssh-server-udeb in the same way as network-console above, but it won't be configured, so you'll need to set up a configuration file in a preseed file
[17:48] <mathiaz> hum... I have access to the boxes via a remote serial console server
[17:48] <mathiaz> but I haven't figured out how to switch to another console over the remote serial console
[17:49] <mathiaz> so when something goes wrong, I just see the installation interface.
[17:49] <mathiaz> IIRC I can use ALT-F2 to switch to another console during installation and debug stuff.
[17:50] <mathiaz> Is there an alternate way to open a second console during installation time ?
[17:51] <cjwatson> back up to the main menu and select "execute a shell"
[17:52] <mathiaz> cjwatson: ah.. that should work for me then - thanks :)
[18:18] <CIA-8> casper: cjwatson * r458 casper/ (debian/changelog scripts/casper-bottom/36disable_trackerd):
[18:18] <CIA-8> casper: * Disable tracker-applet as well as trackerd, otherwise the former starts
[18:18] <CIA-8> casper:  the latter.
[18:22] <CIA-8> casper: cjwatson * r459 casper/ (bin/casper-snapshot debian/changelog):
[18:22] <CIA-8> casper: * casper-snapshot: Fix argument parsing (thanks, Tormod Volden;
[18:22] <CIA-8> casper:  LP: #179411).
[18:30] <CIA-8> casper: cjwatson * r460 casper/debian/changelog: releasing version 1.114
[21:21] <danp> hi
[21:22] <danp> i'm trying to create a preseed setup where i use an early_command script to set networking parameters
[21:23] <danp> but it doesn't seem to be working. in my script, i source confmodule and use db_set for the relevant netcfg/* things. i've tried messing with it quite a bit and the installer still tries DHCP
[21:27] <danp> my preseed file and early script are at: http://glueless.net/preseed/
[21:58] <CIA-8> partman-auto-loop: evand * r38 partman-auto-loop.ubuntu/ (3 files in 2 dirs):
[21:58] <CIA-8> partman-auto-loop: * Allow disk images to be created externally (LP: #176019).
[21:58] <CIA-8> partman-auto-loop: * Added template required by autopartition-loop.
[22:00] <evand> I'm not sure I did that merge properly.  I merged with lupin-support, but removed some of the changes with the intention of reviewing them with xivulon when he's around.
=== cjwatson_ is now known as cjwatson
[23:36] <cjwatson> danp: are you using network preseeding?
[23:36] <cjwatson> danp: if so, the early_command (and indeed the entire preseed file) is processed after netcfg ...
[23:37] <danp> no, i'm using hd-media
[23:37] <danp> my script is definitely run before the DHCP stuff comes up on the console (because if it errors out it stops the process before that)
[23:38] <danp> i was cancelling the DHCP attempt and then using one of the consoles to see if my things got set
[23:39] <danp> it seemed hit and miss. am i missing something?
[23:43] <cjwatson> ok, obviously a bit more complicated; I'd like to help you now but I have to go to bed or my wife is going to get irritated :)
[23:43] <cjwatson> could you post the syslog from the running installer somewhere as well?
[23:44] <cjwatson> and ideally either send e-mail to ubuntu-installer@lists.ubuntu.com, or stay on this channel, so that I can get back to you
[23:44] <cjwatson> you can extract the syslog using the "Save debug logs" entry on the installer's main menu