Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 94EA5200B49 for ; Tue, 5 Jul 2016 04:06:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8B515160A6D; Tue, 5 Jul 2016 02:06:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D489F160A65 for ; Tue, 5 Jul 2016 04:06:53 +0200 (CEST) Received: (qmail 32820 invoked by uid 500); 5 Jul 2016 02:06:52 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 32809 invoked by uid 99); 5 Jul 2016 02:06:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2016 02:06:52 +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 15AE71A5D2E for ; Tue, 5 Jul 2016 02:06:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.427 X-Spam-Level: X-Spam-Status: No, score=-1.427 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BLGqzR948YcE for ; Tue, 5 Jul 2016 02:06:50 +0000 (UTC) Received: from sv1.nocser.net (sv1.nocser.net [42.0.28.73]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 7D8325FADE for ; Tue, 5 Jul 2016 02:06:49 +0000 (UTC) Received: from [60.52.117.114] (port=58317 helo=msolution) by sv1.nocser.net with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1bKFl4-0007EJ-Id for users@cloudstack.apache.org; Tue, 05 Jul 2016 10:06:42 +0800 From: "Mohd Zainal Abidin Rabani" To: References: <019c01d1d36e$28064d60$7812e820$@nocser.net> In-Reply-To: Subject: RE: Instnace Hostname issue Date: Tue, 5 Jul 2016 10:06:33 +0800 Message-ID: <00d201d1d661$daa08620$8fe19260$@nocser.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQK+1QhvweyjTCu49/5GRv4/JfPrxAH02qbKnh9wkbA= Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv1.nocser.net X-AntiAbuse: Original Domain - cloudstack.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nocser.net X-Get-Message-Sender-Via: sv1.nocser.net: authenticated_id: zainal@nocser.net X-Authenticated-Sender: sv1.nocser.net: zainal@nocser.net archived-at: Tue, 05 Jul 2016 02:06:54 -0000 Hi, I'm try to do template from Centos 6.5.=20 Step: 1. Create a VM. 2. Install VM using ISO. 3. Reboot VM after installation finish. 4. Login VM. Can ping other VM in ACS host. 5. Shutdown VM. 6. Create template A1 from ROOT disk of VM. Waiting until template = available. 7. Create another VM using new template A1. Set hostname test-1. 8. Access VM (from template A1). Notice the hostname set early from ISO. = Not the new hostname. Before proceed to create new template, there are no hostname in = /etc/hosts. Just localhost.localdomain. I have following the URL to = create template. -----Original Message----- From: Glenn Wagner [mailto:glenn.wagner@shapeblue.com]=20 Sent: Monday, July 4, 2016 4:42 PM To: users@cloudstack.apache.org Subject: RE: Instnace Hostname issue Hi, What OS are you using? When your create the template from the ISO are you clearing the hostname = and udev rules before make a template from the VM also clear the = /etc/hosts file so there is only localhost addresses . You can have a look at the following link=20 http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4= .8/templates.html Thanks Glenn glenn.wagner@shapeblue.com www.shapeblue.com 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town = 7130South Africa @shapeblue =20 =20 -----Original Message----- From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net] Sent: Friday, 01 July 2016 9:57 AM To: users@cloudstack.apache.org Subject: Instnace Hostname issue Hi, =20 When creating instance, let's say I put test-vm.local. I create instance = using template that I make from iso installation. After vm running, when = I goes into OS it did not set hostname to test-vm.local. What do I need = to fix to settle this issue? =20 Thanks.