xnox | realtime-neil: netcfg is not at all used on firstboot. | 00:15 |
---|---|---|
xnox | realtime-neil: specify netplan.io yaml file to do that on firstboot? cause you can write out /target/etc/netplan/*.yaml that has wind-card matching and does dhcp on all the things? | 00:15 |
xnox | (with either netowrkd, or network-manager, as desired) | 00:15 |
xnox | or like install oem-config in target (with a debconf, gtk, or kde frontend) to do firstboot stuff there? | 00:16 |
realtime-neil | xnox: now that's a thought; could I do that from the preseed late-command, into the chroot? | 00:16 |
xnox | yeah, you should have /target available to copy things to it, echo /cat <<EOF, cp, or like in-target echo .... | 00:17 |
realtime-neil | xnox: sweet; I'll harvest the /etc/netplan/*.yaml from a regular dhcp install and drop it as payload in the preseed late-command | 00:18 |
realtime-neil | does Bionic have netplan or something else? | 00:20 |
xnox | realtime-neil: bionic has netplan.io, but i can't remember if it already was installed by default there. | 00:23 |
xnox | yes, it is always installed. it is in task minimal in bionic. | 00:23 |
xnox | realtime-neil: or write one from scratch..... https://netplan.io/examples/ it's not hard. You probably will want to like match on en* and match on eth* | 00:24 |
xnox | whatever is easiest for you | 00:25 |
realtime-neil | xnox: excellent, that'll work; thanks | 00:25 |
realtime-neil | what's this bit I'm seeing about "network manager"? It looks like the Bionic installer dropped a `/etc/netplan/01-network-manager-all.yaml` that defers everything to a renderer: NetworkManager | 00:30 |
xnox | realtime-neil: it did not drop it. | 00:30 |
xnox | realtime-neil: it's only installed by desktop installer, on desktop systems.... if you ever used a desktop installer..... | 00:30 |
realtime-neil | xnox: so that's something I did when I brought in ubuntu-desktop. | 00:31 |
xnox | i'd say it's something you haven't done yet | 00:31 |
xnox | by default, no netplan config is created at all. | 00:32 |
xnox | it's upto the installer to make one. on server typically a networkd one is created; on desktop typically a "defer all things to network-manager" is done + NM config copied from live environment if any; or like cloud-init creates one based on a metadata source; and so on. | 00:33 |
realtime-neil | got it | 00:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!