Skip to content

Instantly share code, notes, and snippets.

@ymmt2005
Created January 14, 2013 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ymmt2005/4528277 to your computer and use it in GitHub Desktop.
Save ymmt2005/4528277 to your computer and use it in GitHub Desktop.
Patch for ifenslave-2.6 in Ubuntu 12.04 to modify the timing for enslaving slaves.
--- /etc/network/if-pre-up.d/ifenslave 2012-01-24 02:26:28.000000000 +0900
+++ ifenslave 2012-09-12 01:03:22.558799876 +0900
@@ -224,6 +224,7 @@
# Setup the master interface
early_setup_master
setup_master
+ enslave_slaves
# Indicate that we're done setting up the master
# this is required as ifstate is modified at the beginning
@@ -266,7 +267,7 @@
done
# Only setup one slave at once
- BOND_SLAVES=$IFACE enslave_slaves
+ #BOND_SLAVES=$IFACE enslave_slaves
# Call late_setup_master every time we add a slave as we don't have a way to know
# when all the slaves are up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment