Skip to content

Conversation

@lucab
Copy link
Contributor

@lucab lucab commented Mar 20, 2020

Temporarily based on #362 for quicker development.

lucab added 3 commits March 16, 2020 12:30
This adds initial/experimental support for bootstrapping the network
in the initrd. It is meant to support weird cloud providers where
DHCP is not available or not usable.
This feature is currently reachable as a dedicated `exp rd-net-bootstrap`
subcommand.
The first provider where this logic is required is `ibmcloud-classic`.
@cgwalters
Copy link
Member

In prior discussion we debated whether or not these networking parameters should be "apply once" or be applied every boot. I thought we'd leaned towards "apply once" - which argues for doing this more as part of Ignition, right?

But, I guess nothing technically stops us from doing "configure once" stuff in afterburn too, it just blurs the architecture diagrams.

Ok(HashMap::new())
}

fn hostname(&self) -> Result<Option<String>> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can implement this right? See openshift/machine-config-operator#1579

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've replied there. The TLDR is that we can but we shouldn't.
This is for platforms where either:

  • network auto-configuration is performed via DHCP and a cloud-channel for the hostname
  • network auto-configuration happens via some custom protocol, which includes the hostname

Other cases are owned already by 1) dracut kargs and 2) Ignition.

@lucab
Copy link
Contributor Author

lucab commented Apr 28, 2020

Closing this stale WIP in favor of #404.

@lucab lucab closed this Apr 28, 2020
@lucab lucab deleted the wip/vmw-backdoor-net branch June 22, 2020 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants