From cd6e84659e77bfcc5928738f0571f565476636fb Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 3 Jun 2019 17:29:43 +0530 Subject: [PATCH] Revert "Fix template size for managed storage / refactor cloud-install-sys-tmplt and createtmplt.sh (#3346)" This reverts commit 6946f41784423788e71441255e67c2b9b1c3633d because it adds regression to deployment and testing. Testing against VMware, KVM and XenServer confirm failure to deploy an environment where systemvms don't come online. --- .../storage/secondary/cloud-install-sys-tmplt | 302 +++++++++--------- scripts/storage/secondary/createtmplt.sh | 184 ++++++----- 2 files changed, 266 insertions(+), 220 deletions(-) diff --git a/scripts/storage/secondary/cloud-install-sys-tmplt b/scripts/storage/secondary/cloud-install-sys-tmplt index 6bb8d20856b..91b3a7c9088 100755 --- a/scripts/storage/secondary/cloud-install-sys-tmplt +++ b/scripts/storage/secondary/cloud-install-sys-tmplt @@ -1,4 +1,5 @@ #!/bin/bash +# $Id: installrtng.sh 11251 2010-07-23 23:40:44Z abhishek $ $HeadURL: svn://svn.lab.vmops.com/repos/vmdev/java/scripts/storage/secondary/installrtng.sh $ # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file @@ -19,35 +20,19 @@ usage() { - printf "\nUsage: %s:\n\t-m secondary storage mount point\n\t-f system vm template file\n\t-h hypervisor name: kvm|vmware|xenserver|hyperv|ovm3\n\t-s mgmt server secret key, if you specified any when running cloudstack-setup-database, default is password\n\t-u Url to system vm template\n\t-F clean up system templates of specified hypervisor\n\t-e Template suffix, e.g vhd, ova, qcow2\n\t-o Database server hostname or ip, e.g localhost\n\t-r Database user name, e.g root\n\t-p mysql database port\n\t-d Database password. Followed by nothing if the password is empty\n\t-H with hvm\n\n" $(basename $0) >&2 - printf "\tor\n" - printf "\nUsage: %s:\n\t-m secondary storage mount point\n\t-u http url for system vm template\n\t-h hypervisor name: kvm|vmware|xenserver|hyperv|ovm3\n\t-s mgmt server secret key\n\n" $(basename $0) >&2 + printf "Usage: %s: -m -f [-h ] [ -s ][-u ] [-F ] [-e