Skip to content
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

Fix hardcode of eth0 in several places #27

Merged
merged 1 commit into from
Jul 12, 2018
Merged

Conversation

danbst
Copy link
Contributor

@danbst danbst commented Jul 12, 2018

The problem was that some VPS (from GigaCloud provider, Ukraine) provided ens3 interface
name, but after infection it was renamed to eth0 via udev rules.

This fixes hardcode in two ways:

  • actually fix hardcode
  • specify networking.usePredictableInterfaceNames explicitly

I thinkg, both approaches can replace each other (and work in combo too). So, we can leave udev rules and drop usePredictableInterfaceNames, leave usePredictableInterfaceNames and drop udev rules, or leave both. I've chose the last variant here, because I can't test this on Digital Ocean.

Also, this partially overlaps with #17 (and maybe closes it).

The problem was that some VPS (from GigaCloud provider, Ukraine) provided `ens3` interface
name, but after infection it was renamed to `eth0` via udev rules.
@elitak elitak merged commit 89b92f3 into elitak:master Jul 12, 2018
@danbst danbst deleted the patch-1 branch July 12, 2018 22:21
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