Add iptables-persistent service in guest OS. cloud-passwd-srvr depends on iptables-persistent.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3123fe6b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3123fe6b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3123fe6b Branch: refs/heads/vmsync Commit: 3123fe6bbad5c9e216f52c7fa882db4c2b6b5d91 Parents: bdfce2b Author: Hiroaki KAWAI <[email protected]> Authored: Mon Jun 24 11:14:16 2013 +0900 Committer: Hiroaki KAWAI <[email protected]> Committed: Mon Jun 24 11:14:16 2013 +0900 ---------------------------------------------------------------------- patches/systemvm/debian/buildsystemvm.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3123fe6b/patches/systemvm/debian/buildsystemvm.sh ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/buildsystemvm.sh b/patches/systemvm/debian/buildsystemvm.sh index d8a6da7..dac785c 100755 --- a/patches/systemvm/debian/buildsystemvm.sh +++ b/patches/systemvm/debian/buildsystemvm.sh @@ -409,7 +409,9 @@ services() { chroot . chkconfig xl2tpd off chroot . chkconfig --add cloud-early-config chroot . chkconfig cloud-early-config on - chroot . chkconfig --add cloud-passwd-srvr + chroot . chkconfig --add iptables-persistent + chroot . chkconfig iptables-persistent off + chroot . chkconfig --force --add cloud-passwd-srvr chroot . chkconfig cloud-passwd-srvr off chroot . chkconfig --add cloud chroot . chkconfig cloud off
