Skip to content

Conversation

@brentonr
Copy link

Creating for review only. We used your fork since it had the closest changes to what we needed, but found it was still missing udev events after eth0 is up.

Looking at the fedora port etuttle/ec2-utils we found it had a systemd and upstart script to re-send udev events after the network (eth0) was up by calling ec2ifscan.

We ported the upstart script and ec2ifscan to allow configuring devices after the intial on-boot udev hotplug events.

The fedora port also had additional udev rules to perform an ifup (through systemd service) and ifdown (calling directly). Since we're using upstart, we didn't have the same capabilities as the systemd service so we call ifup directly in the udev rules.

This seems to work when ENIs are attached at boot time, resulting in configured interfaces that are brought up. We have not yet tested dynamic hotplugging, which I suspect won't work due to not having the same capabilities as the fedora systemd service used in the fedora port.

Is this PR something that would be useful to you to merge? It seems like it gains some incremental functionality towards what Amazon Linux and the fedora port have. If you have any comments on what could be changed, I'm very happy to update the PR. Thanks!

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.

3 participants