Repository: stratos Updated Branches: refs/heads/master 6ae396b37 -> 171709053
Adding sudo for CreateLVSDummyInterface.sh Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/17170905 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/17170905 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/17170905 Branch: refs/heads/master Commit: 17170905347e89ebb2abf3cbcb978eb16bd1a813 Parents: 6ae396b Author: lasinducharith <[email protected]> Authored: Thu Jul 30 16:32:43 2015 +0530 Committer: lasinducharith <[email protected]> Committed: Thu Jul 30 16:32:43 2015 +0530 ---------------------------------------------------------------------- .../cartridge.agent/extensions/bash/CreateLVSDummyInterface.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/17170905/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/bash/CreateLVSDummyInterface.sh ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/bash/CreateLVSDummyInterface.sh b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/bash/CreateLVSDummyInterface.sh index 3fb7d3b..f734db3 100755 --- a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/bash/CreateLVSDummyInterface.sh +++ b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/extensions/bash/CreateLVSDummyInterface.sh @@ -25,7 +25,7 @@ # -modprobe dummy numdummies=1 -ifconfig dummy0 ${STRATOS_LVS_DUMMY_VIRTUAL_IP} netmask ${STRATOS_LVS_SUBNET_MASK} +sudo modprobe dummy numdummies=1 +sudo ifconfig dummy0 ${STRATOS_LVS_DUMMY_VIRTUAL_IP} netmask ${STRATOS_LVS_SUBNET_MASK} echo "update the dummy interface with ${STRATOS_LVS_DUMMY_VIRTUAL_IP} and ${STRATOS_LVS_SUBNET_MASK}" \ No newline at end of file
