chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
136 stars 63 forks source link

fix: device name always eth0 in iptable network attack partition #252

Closed yuriscott closed 8 months ago

yuriscott commented 1 year ago

In some scenarios, eth0 does not exist, but eno1 set through network attack partition will been replaced eth0 in Iptables.

chaotic-prow[bot] commented 8 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: g1eny0ung

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/chaos-mesh/chaosd/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment