Repository: cloudstack Updated Branches: refs/heads/master a400eecf6 -> b4f03a133
CLOUDSTACK-7517: loading ftp modules in VR Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b4f03a13 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b4f03a13 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b4f03a13 Branch: refs/heads/master Commit: b4f03a1339c67438a2a9cf94dd81b98cdfb458b9 Parents: a400eec Author: Jayapal <[email protected]> Authored: Wed Sep 10 14:10:02 2014 +0530 Committer: Jayapal <[email protected]> Committed: Wed Sep 10 14:10:14 2014 +0530 ---------------------------------------------------------------------- .../patches/debian/config/etc/init.d/cloud-early-config | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b4f03a13/systemvm/patches/debian/config/etc/init.d/cloud-early-config ---------------------------------------------------------------------- diff --git a/systemvm/patches/debian/config/etc/init.d/cloud-early-config b/systemvm/patches/debian/config/etc/init.d/cloud-early-config index f36d8cb..17c9f0a 100755 --- a/systemvm/patches/debian/config/etc/init.d/cloud-early-config +++ b/systemvm/patches/debian/config/etc/init.d/cloud-early-config @@ -889,6 +889,7 @@ setup_redundant_router() { then (crontab -l; echo -e "SHELL=/bin/bash\nPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin\n*/1 * * * * $rrouter_bin_path/check_heartbeat.sh 2>&1 > /dev/null") | crontab fi + load_modules } setup_aesni() { @@ -898,6 +899,13 @@ setup_aesni() { fi } +load_modules() { + + #load nf modules for ftp + modprobe nf_nat_ftp + modprobe nf_conntrack_ftp +} + setup_router() { log_it "Setting up virtual router system vm" @@ -972,6 +980,7 @@ setup_router() { #for old templates cp /etc/iptables/iptables-router /etc/iptables/rules setup_sshd $ETH1_IP "eth1" + load_modules } @@ -1071,6 +1080,7 @@ EOF else echo 0 > /var/cache/cloud/dnsmasq_managed_lease fi + load_modules }
