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


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9e13533e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9e13533e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9e13533e

Branch: refs/heads/ui-plugins
Commit: 9e13533e2123ef13d96b35bf989fa069b30428f4
Parents: 1896685
Author: Chiradeep Vittal <[email protected]>
Authored: Mon Feb 11 10:25:10 2013 -0800
Committer: Chiradeep Vittal <[email protected]>
Committed: Mon Feb 11 10:25:10 2013 -0800

----------------------------------------------------------------------
 .../systemvmtemplate/cloudstack-packages.sh        |   19 ++++++++-------
 1 files changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9e13533e/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh
----------------------------------------------------------------------
diff --git 
a/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh 
b/tools/appliance/definitions/systemvmtemplate/cloudstack-packages.sh
index e5d04fa..9a40253 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() {

Reply via email to