Guest123 | Is this the channel for questions about the installer? Or is it just development only? | 03:38 |
---|---|---|
cyphermox | CarlFK: your late-command can be running some pre-made script from somewhere, I've seen examples (but of course right now I can't find them) | 16:50 |
CarlFK | cyphermox: I can use late_command to wget/chmod.. but I am 'sure' I saw something else that took just a uri | 16:51 |
cyphermox | I concur | 16:52 |
cyphermox | I just don't remember what exactly off the top of my head; you could look at the source for preseed though | 16:52 |
CarlFK | and also I am sure if you give it a host name, it will construct the path similar to preseed - d-i/flavor | 16:52 |
cyphermox | oh, it was for a preseed path, not for the late_command or early_command. | 16:53 |
CarlFK | um.. I am saying it was like preseed... | 17:15 |
CarlFK | I do this: | 17:16 |
CarlFK | d-i preseed/late_command string cd /target/tmp && wget http://$url/lc/late_command.sh && chmod u+x late_command.sh && chroot /target /tmp/late_command.sh $(debconf-get mirror/suite) $(debconf-get passwd/username) | 17:16 |
CarlFK | what I remember was d-i preseed/late_command string late_command.sh | 17:17 |
cyphermox | well, you can do that, but it depends on late_command.sh already being on the system, AFAIK | 17:18 |
cyphermox | I do not think this works as a URL at all, but I haven't exactly tested this | 17:19 |
CarlFK | er... d-i preseed/late_script? string late_command.sh | 17:20 |
CarlFK | late_something | 17:20 |
cjwatson | You might be thinking of preseed/run (IIRC), which is like early_command. I don't think there's a late equivalent | 20:42 |
cjwatson | (it's actually not quite like early_command either, but it's closer to that) | 20:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!