Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FAD2C611 for ; Tue, 1 Oct 2013 07:16:51 +0000 (UTC) Received: (qmail 9071 invoked by uid 500); 1 Oct 2013 07:16:46 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 8985 invoked by uid 500); 1 Oct 2013 07:16:44 -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 8789 invoked by uid 99); 1 Oct 2013 07:16:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 07:16:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.215.52] (HELO mail-la0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 07:16:37 +0000 Received: by mail-la0-f52.google.com with SMTP id ev20so5368660lab.39 for ; Tue, 01 Oct 2013 00:16:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=tUfI6jdojX2YKSPY5JVBZl9R8k6cnARN7yz7SWtV/kI=; b=JhAQwtRhzt/aLhjnICf4r0mCazCNI24StGHmnFbY0dcxZbIojATs3nBLkcJLy5n03R u0lwljALan4SQXbEuZP2GEYwAcbmeUImgIvKlOpSpWPkaQlDB/UPY8x4OkKOFsnoumA1 vp5Z7tPuoaFHcTj/N1VffTYnnEnSEvpxXARp9nwrS5jYD0XLZmYItuzKMWwRFkar1r5f 3JOTU6h6hTCXPk7lARufi346IOxmeKjyarxhEJK+KylhemyQvni0HpYFVBq7G2UhcTU9 BVhK13y3HADi3KawOMHfaFsAV1Xp3BoUFPIRRqLknw80CarAFkfw9ZeL3BVJGPl23DSA 6t1Q== X-Gm-Message-State: ALoCoQnK6A1iSHTz7Yv1UgftKeSKR2hgQVSdAVaGp6G5AfGub4yGtaYrlkPBQYms4aD5BBQn0Mgl MIME-Version: 1.0 X-Received: by 10.152.7.100 with SMTP id i4mr647918laa.35.1380611775235; Tue, 01 Oct 2013 00:16:15 -0700 (PDT) Received: by 10.112.163.193 with HTTP; Tue, 1 Oct 2013 00:16:15 -0700 (PDT) In-Reply-To: <2C7B062C-039D-43D7-B575-7C5E839D1914@shapeblue.com> References: <52452B3B.90308@gmail.com> <2C7B062C-039D-43D7-B575-7C5E839D1914@shapeblue.com> Date: Tue, 1 Oct 2013 15:16:15 +0800 Message-ID: Subject: Re: cloud-set-guest-password script for ArchLinux? From: Indra Pramana To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11c27d826f961a04e7a8bace X-Virus-Checked: Checked by ClamAV on apache.org --001a11c27d826f961a04e7a8bace Content-Type: text/plain; charset=ISO-8859-1 Hi Shankerbalan and all, I managed to workaround that by installing NetworkManager (which comes with dhclient by default) and disabling dhcpcd. Also need to modify the script so that it will try to search the .lease file on /var/lib/NetworkManager/* directory instead. Other than that, the script works nicely with systemd without any issues. Thank you. On Tue, Oct 1, 2013 at 2:51 PM, Shanker Balan wrote: > On 27-Sep-2013, at 12:22 PM, Kirk Kosinski wrote: > > > Hi, did you try any of the existing scripts? One or more of them will > > probably work as-is or with minor modifications. The primary > > requirement is to use a compatible DHCP client like the ISC DHCP client > > (dhclient). > > Hi Indra, > > I took ArchLinux for a spin earlier today and noticed that the default > DHCP client is "dhcpcd" which maintains the lease file in a binary format. > > Our choices: > > 1) See if we can move from dhcpcd to ISC DHCP or > 2) Dump the lease file contents and update the cloud-set-guest-password > script. > > Arch Linux uses systemd instead of the traditional sysinit. The script > will need > an overhaul to support systemd also. > > [root@ARCH1 var]# cat /var/lib/dhcpcd/dhcpcd-eth0.lease > @=>? > ? > kc?Sc56 > 3??????? > ? > ARCH1 > > [root@ARCH1 var]# pacman -Qi dhcpcd > Name : dhcpcd > Version : 6.0.5-1 > Description : RFC2131 compliant DHCP client daemon > Architecture : x86_64 > URL : http://roy.marples.name/projects/dhcpcd/ > Licenses : BSD > Groups : base > Provides : dhcp-client > Depends On : glibc sh > Optional Deps : None > Required By : None > Optional For : netctl > Conflicts With : None > Replaces : None > Installed Size : 285.00 KiB > Packager : Dave Reisner > Build Date : Sat Aug 3 20:50:18 2013 > Install Date : Tue Oct 1 10:25:13 2013 > Install Reason : Explicitly installed > Install Script : No > Validated By : Signature > > > > > > > Best regards, > > Kirk > > > > > > On 09/26/2013 11:06 PM, Indra Pramana wrote: > >> Dear all, > >> > >> I am trying to create CloudStack OS template for ArchLinux. However, I > am > >> not able to find the cloud-set-guest-password password management > template > >> script for ArchLinux. Under the shankerbalan's github site, there are > only > >> scripts for CentOS, Ubuntu, Debian, FreeBSD and SLES: > >> > >> https://github.com/shankerbalan/cloudstack-scripts > >> > >> Where can I get the password management template script for ArchLinux? > >> > >> Looking forward to your reply, thank you. > >> > >> Cheers. > >> > > -- > @shankerbalan > > M: +91 98860 60539 | O: +91 (80) 67935867 > shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue > ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, > Bangalore - 560 055 > > CloudStack Bootcamp Training on 18/19 September, Bangalore > http://www.shapeblue.com/cloudstack-training/ > > > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the sender > if you believe you have received this email in error. Shape Blue Ltd is a > company incorporated in England & Wales. ShapeBlue Services India LLP is a > company incorporated in India and is operated under license from Shape Blue > Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil > and is operated under license from Shape Blue Ltd. ShapeBlue is a > registered trademark. > --001a11c27d826f961a04e7a8bace--