From 9e13533e2123ef13d96b35bf989fa069b30428f4 Mon Sep 17 00:00:00 2001 From: Chiradeep Vittal Date: Mon, 11 Feb 2013 10:25:10 -0800 Subject: [PATCH] CLOUDSTACK-1066: fetch cloudstack init files for systemvm from git. Currently fetching from HEAD, for a particular branch it should be fetched from the respective branch --- .../systemvmtemplate/cloudstack-packages.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh b/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh index e5d04fa3cce..9a402535463 100644 --- a/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh +++ b/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh @@ -122,16 +122,17 @@ services() { #Fix haproxy directory issue mkdir -p /var/lib/haproxy - #FIXME: need a way to copy from git repo (perhaps wget from git-wip-us.apache.org?) - #/bin/cp -r ${scriptdir}/config/* ./ - chkconfig xl2tpd off - #chkconfig --add cloud-early-config - #chkconfig cloud-early-config on - #chkconfig --add cloud-passwd-srvr - #chkconfig cloud-passwd-srvr off - #chkconfig --add cloud - #chkconfig cloud off + wget 'https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob_plain;f=patches/systemvm/debian/config/etc/init.d/cloud-early-config;hb=HEAD' -O /etc/init.d/cloud-early-config + chkconfig --add cloud-early-config + chkconfig cloud-early-config on + wget 'https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob_plain;f=patches/systemvm/debian/config/etc/init.d/cloud-passwd-srvr;hb=HEAD' -O /etc/init.d/cloud-passwd-srvr + chkconfig --add cloud-passwd-srvr + chkconfig cloud-passwd-srvr off + wget 'https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob_plain;f=patches/systemvm/debian/config/etc/init.d/cloud;hb=HEAD' -O /etc/init.d/cloud + chkconfig --add cloud + chkconfig cloud off chkconfig monit off + chkconfig xl2tpd off } signature() {