-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install: UI for forwarding network information into next boot #205
Comments
Talking with @bgilbert on this topic I think we settled on something like
|
I'm so-so on |
I could go either way on those two. As long as you're still OK with the optional accepting a |
Could also be a more generic |
@jlebon, I think going that far would start encouraging users to bypass Ignition. |
Yeah, true. Though on that note, maybe what we actually want is to have whatever wraps NetworkManager-tui to spit out an Ignition config that can be merged into the main config (could easily build that functionality on top of coreos/butane#83). That way users have the canonical config to use for future automated re-installs (and also for other bare metal hosts that need installing if the network config isn't inherently node-specific). |
Though reading #205 (comment) again, it seems like we're not planning on wrapping So yeah, maybe this is too much friction and |
The problem with that is that the ignition config could have remote references so we need the networking in the initramfs. |
This will allow us to copy in networking configuration from a specified location into a predetermined directory inside of `/boot/` of the installed system (which follows the path of other postprocess steps). Having this mechanism will allow for a user to interactively configure networking in the Live ISO environment via `nmtui` and then have those settings propagate forward into the installed system. After the files are copied into the directory within `/boot/` a systemd unit from the initramfs will pick them up on firstboot and propagate them into the appropriate locations. Fixes: coreos#205
This will allow us to copy in networking configuration from a specified location into a predetermined directory inside of `/boot/` of the installed system (which follows the path of other postprocess steps). Having this mechanism will allow for a user to interactively configure networking in the Live ISO environment via `nmtui` and then have those settings propagate forward into the installed system. After the files are copied into the directory within `/boot/` a systemd unit from the initramfs will pick them up on firstboot and propagate them into the appropriate locations. Fixes: coreos#205
This will allow us to copy in networking configuration from a specified location into a predetermined directory inside of `/boot/` of the installed system (which follows the path of other postprocess steps). Having this mechanism will allow for a user to interactively configure networking in the Live ISO environment via `nmtui` and then have those settings propagate forward into the installed system. After the files are copied into the directory within `/boot/` a systemd unit from the initramfs will pick them up on firstboot and propagate them into the appropriate locations. Fixes: coreos#205
This will allow us to copy in networking configuration from a specified location into a predetermined directory inside of `/boot/` of the installed system (which follows the path of other postprocess steps). Having this mechanism will allow for a user to interactively configure networking in the Live ISO environment via `nmtui` and then have those settings propagate forward into the installed system. After the files are copied into the directory within `/boot/` a systemd unit from the initramfs will pick them up on firstboot and propagate them into the appropriate locations. Fixes: coreos#205
Right now I'm working on an interactive experience for users to configure networking of the system in the booted Live ISO right before they run
coreos-install install
. As a user I'm currently:nmtui
to configure networking and gain internet accessI need to be able to take the networking information from the current system (for FCOS it would be
/etc/NetworkManager/system-connections
) into the initramfs of the firstboot. My current thinking is that we just copy the files from/etc/NetworkManager/system-connections
into a directory in the boot partition like we do for other things and then have a systemd unit that runs in the initramfs to pick that information up and carry it forward.Assuming that all sounds good what do we want the UI for this to look like? One option:
coreos-installer install --forward-networking[=/etc/NetworkManager/system-connections]
/etc/NetworkManager/system-connections
but directory can be overridden--networking-files=
instead maybe?Another option is that we make this more generic and make
--initramfsfiles=/path/to/initramfs/rootfs
and make a generic way to copy files into the initramfs environment but I don't know how much we should support something like this.Thoughts?
The text was updated successfully, but these errors were encountered: