On 28-Nov-2012, at 3:33 PM, Marc Cirauqui wrote: > hi, > > -f switch is to clear previous system templates for selected hypervisor (I > think). You can download the systemvm image and serve it from a webserver > in your LAN. > > thx >
Marc - There are 2 options - small case f which means the system vm template file and upper case F which is for clearing the system vm template. So the user can keep a local copy of system vm template and pass that file path in the script without wasting time on downloading it every time. Usage: cloud-install-sys-tmplt: -m <secondary storage mount point> -f <system vm template file> [-h <hypervisor name: kvm|vmware|xenserver> ] [ -s <mgmt server secret key, if you specified any when running cloud-setup-database, default is password>][-u <Url to system vm template>] [-F <clean up system templates of specified hypervisor>] [-e <Template suffix, e.g vhd, ova, qcow2>] [-o <Database server hostname or ip, e.g localhost>] [-r <Database user name, e.g root>] [-d <Database password. Fllowed by nothing if the password is empty>] or cloud-install-sys-tmplt: -m <secondary storage mount point> -u <http url for system vm template> [-h <hypervisor name: kvm|vmware|xenserver> ] [ -s <mgmt server secret key>] > > On Wed, Nov 28, 2012 at 10:46 AM, jerry jiang. 蒋维 > <jerry.ji...@tyxtech.com>wrote: > >> Hello banuka, >> >> I think cloudstack support installing sys vm template from local >> file.just try with `-f' option for script `cloud-install-sys-tmplt' >> >> -Jerry >> >> ----- Original Message ----- >> From: "banuka prakash" <banu...@gmail.com> >> To: cloudstack-users@incubator.apache.org >> Sent: 星期三, 2012年 11 月 28日 下午 4:47:34 >> Subject: spending 8hrs a day to practice cloud stack!! >> >> Hi All: >> >> I'm sitting for 8 to 10 hours on cloudstack to learn and practice. >> >> To create a system template ...............with the following command >> >> (/usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt >> -m /mnt/secondary -u >> http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2-h >> xenserver ) >> >> it is taking 40 minutes to download the template. >> >> Do I need to download the template every time I install cloud stack or >> >> Can I store the template on a separate pendrive and store it in a secondary >> storage instead of directly downloading from the net? >> >> My practice goes like this... >> >> 1. install the os (CENTOS) >> >> 2. install cloud stack / mysql /system template, >> >> 3. Adding host etc. >> >> but downloading template ...it is taking much time ... >> is there any alternatives please...?? >> >> Regards >> prakash >> 9133368284 >>