From ed4b6a517bb984c3e0a38b04a5096332bebc51c4 Mon Sep 17 00:00:00 2001 From: Edison Su Date: Wed, 11 Jul 2012 15:19:12 -0700 Subject: [PATCH] the default templates are put into download.cloud.com --- tools/devcloud/devcloudsetup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/devcloud/devcloudsetup.sh b/tools/devcloud/devcloudsetup.sh index f8d78a6447d..b5a97cb091a 100644 --- a/tools/devcloud/devcloudsetup.sh +++ b/tools/devcloud/devcloudsetup.sh @@ -16,7 +16,7 @@ # specific language governing permissions and limitations # under the License. -fileSvr="http://nfs1.lab.vmops.com/templates/devcloud/" +fileSvr="http://download.cloud.com/templates/devcloud/" install_xen() { aptitude update echo "install xen" @@ -87,10 +87,10 @@ postsetup() { mkdir -p /opt/storage/secondary/template/tmpl/1/5 echo "/opt/storage/secondary *(rw,no_subtree_check,no_root_squash,fsid=0)" > /etc/exports - wget $fileSvr/vmtemplates/1/dc68eb4c-228c-4a78-84fa-b80ae178fbfd.vhd -P /opt/storage/secondary/template/tmpl/1/1/ - wget $fileSvr/vmtemplates/1/template.properties -P /opt/storage/secondary/template/tmpl/1/1/ - wget $fileSvr/vmtemplates/5/ce5b212e-215a-3461-94fb-814a635b2215.vhd -P /opt/storage/secondary/template/tmpl/1/5/ - wget $fileSvr/vmtemplates/5/template.properties -P /opt/storage/secondary/template/tmpl/1/5/ + wget $fileSvr/defaulttemplates/1/dc68eb4c-228c-4a78-84fa-b80ae178fbfd.vhd -P /opt/storage/secondary/template/tmpl/1/1/ + wget $fileSvr/defaulttemplates/1/template.properties -P /opt/storage/secondary/template/tmpl/1/1/ + wget $fileSvr/defaulttemplates/5/ce5b212e-215a-3461-94fb-814a635b2215.vhd -P /opt/storage/secondary/template/tmpl/1/5/ + wget $fileSvr/defaulttemplates/5/template.properties -P /opt/storage/secondary/template/tmpl/1/5/ /etc/init.d/nfs-kernel-server restart fi