Skip to content

Commit

Permalink
fix eni autoconfig by eniservice
Browse files Browse the repository at this point in the history
  • Loading branch information
BSWANG committed Mar 15, 2019
1 parent 30edfc3 commit 7da5160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terway-multiip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ spec:
chmod +x /opt/cni/bin/terway;
cp /etc/eni/10-terway.conf /etc/cni/net.d/;
modprobe sch_htb || true;
chroot /host sh -c "rm -f /etc/udev/rules.d/75-persistent-net-generator.rules && udevadm control --reload-rules && udevadm trigger"'
chroot /host sh -c "systemctl disable eni.service && rm -f /etc/udev/rules.d/75-persistent-net-generator.rules /lib/udev/rules.d/60-net.rules /lib/udev/write_net_rules && udevadm control --reload-rules && udevadm trigger"'
volumeMounts:
- name: configvolume
mountPath: /etc/eni
Expand Down

0 comments on commit 7da5160

Please sign in to comment.