pmatulis | how can i force/override the nameserver used in the installer so i can influence name resolution on the target? the local dhcp server is not in my control. or maybe i can just add entries to /etc/hosts ? | 19:57 |
---|---|---|
pmatulis | or just re-write resolv.conf? | 19:58 |
pmatulis | but i need to first access my pressed file that requires name resolution | 19:59 |
pmatulis | going by IP doesn't seem to work | 19:59 |
CarlFK | pmatulis: IP should work | 20:23 |
pmatulis | CarlFK: yeah, i got that to work but i'm just not used to lighttpd. it's weird | 20:24 |
pmatulis | CarlFK: then i did an early_command to re-write the target resolv.conf and it's working | 20:24 |
CarlFK | gross ;) | 20:25 |
pmatulis | heh heh | 20:26 |
CarlFK | I think it would be better to add entries to /etc/hosts - which is different from /target/etc/hosts, so it would not be part of the install | 20:26 |
CarlFK | but meh.. dns has its uses | 20:27 |
pmatulis | well i do want resolv.conf to keep the custom value. let's see what i'll end up with | 20:29 |
CarlFK | I think you will want to feed that into CONF=/etc/NetworkManager/system-connections https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/lc/late.sh#L177 | 20:35 |
CarlFK | nm clobbers resolv.conf | 20:35 |
pmatulis | no n-m , server only | 20:37 |
pmatulis | and resolv.conf popped back | 20:37 |
pmatulis | how do i keep it at the customer value? OR keep /etc/hosts at a custom value? | 20:38 |
CarlFK | did you modify /target/etc/resolve.conf ?in late_command? | 20:39 |
pmatulis | no | 20:40 |
CarlFK | in case it isn't clear: the installer mounts / under /target and does chroot stuff to set it up | 20:40 |
pmatulis | i guess i'll do that | 20:40 |
pmatulis | ok, good to know | 20:40 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!