Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED38018BD5 for ; Wed, 11 Nov 2015 21:11:01 +0000 (UTC) Received: (qmail 73231 invoked by uid 500); 11 Nov 2015 21:11:01 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 73173 invoked by uid 500); 11 Nov 2015 21:11:01 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 73161 invoked by uid 99); 11 Nov 2015 21:11:01 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2015 21:11:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C16981A5A9F for ; Wed, 11 Nov 2015 21:11:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SACkd17avT0f for ; Wed, 11 Nov 2015 21:10:55 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 7E96624C25 for ; Wed, 11 Nov 2015 21:10:54 +0000 (UTC) Received: by lbblt2 with SMTP id lt2so24063208lbb.3 for ; Wed, 11 Nov 2015 13:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DaER2HZ+V2Ca3VLt1y9kVKnOzAApbS4jPGIO+cWdq6s=; b=oWDX4CH2wOzBqmoUpRT8l9SUcvdtBcEFVx5KFkPiiGB4a7OfdVtx7V7HDTrb7bnUpi n65q+K4BNGud3yE/2rARdh5kNQTlBtzfrGYBvx0YJAhkyup+s195daS9fofcD5d0M6u2 x0MuKBsTtQ4CpJxkNx3q63hZLMef9/3gA8DpCXAhi01jrErndNq2863yqBXdam2VvN6Q s8nAc6NvFlK9T1atIvEjJUlmyHHXxpF38EYcHER4Bz7tYHHpq38ToKC4l5L9JAKQn6cS l4wJVdUwhrjuaXaESENGQixedOxjI7r5UFxcx8Suvy2Xd1bvDnvTAw+yEnch7uQ+GVok TuuA== X-Received: by 10.112.168.194 with SMTP id zy2mr5461757lbb.79.1447276253789; Wed, 11 Nov 2015 13:10:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.21.202 with HTTP; Wed, 11 Nov 2015 13:10:34 -0800 (PST) In-Reply-To: References: From: Daan Hoogland Date: Wed, 11 Nov 2015 22:10:34 +0100 Message-ID: Subject: Re: [DISCUSS] upgrade of system templates To: dev Content-Type: multipart/alternative; boundary=001a11c333f2ffc44a05244a42d2 --001a11c333f2ffc44a05244a42d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable sure, but I never read docs. here is the job script: ``` whoami export PATH=3D/home/jenkins/.rvm/bin:$PATH export rvm_path=3D/home/jenkins/.rvm export HOME=3D/home/jenkins/ cd tools/appliance if [ -d iso ]; then rm -fvr iso fi if [ -d dist ]; then rm -fvr dist fi if [ -d box ]; then rm -fvr box fi if [ -d /home/jenkins/iso ]; then cp -rv /home/jenkins/iso . fi if [ ! -d iso ]; then mkdir iso ln -s $WORKSPACE/*.iso iso/ fi export clean_vbox=3D1 export BUILD_NUMBER=3D export version=3D4.6.0 export branch=3Dmaster chmod +x build.sh ./build.sh systemvm64template ``` On Wed, Nov 11, 2015 at 10:05 PM, Rafael Weing=C3=A4rtner < rafaelweingartner@gmail.com> wrote: > nice thanks. > Do not we have a doc page for that? > > On Wed, Nov 11, 2015 at 7:03 PM, Daan Hoogland > wrote: > > > Rafael, check the tools/appliance dir or the systemvm template builds i= n > > jenkins. you'll find the prereqs in there. > > > > On Wed, Nov 11, 2015 at 9:54 PM, Rafael Weing=C3=A4rtner < > > rafaelweingartner@gmail.com> wrote: > > > > > Hi Daan, > > > That is something I would like to use. However, there is somethings > that > > I > > > do not fully understand when we create/customize the system VMs. > > > > > > What does an Operating System need to work as a system VM? I mean, do= es > > it > > > need an agent to be installed into the VM? Does it need some version = of > > > some software to be installed (Java, Python, nfs-commons and others)? > > Does > > > it need to be password enabled? > > > > > > On Wed, Nov 11, 2015 at 6:48 PM, Daan Hoogland < > daan.hoogland@gmail.com> > > > wrote: > > > > > > > Devs, > > > > > > > > This has bitten us in indecent places time after time and after som= e > > > > contemplating the solution seems quite simple. An api call > implemented > > in > > > > the TemplateService that lets you > > MarkTemplateAsSystemVmTemplate(optional > > > > uuid, optional name). No other params are needed as the template > should > > > > allready contain most information. The actual marking code is > > implemented > > > > several upgrade versions and only needs to simplified from that > > > > implementation. > > > > > > > > Do I miss something? > > > > > > > > -- > > > > Daan > > > > > > > > > > > > > > > > -- > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > -- > > Daan > > > > > > -- > Rafael Weing=C3=A4rtner > --=20 Daan --001a11c333f2ffc44a05244a42d2--