Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02AA110769 for ; Wed, 10 Apr 2013 19:27:37 +0000 (UTC) Received: (qmail 30762 invoked by uid 500); 10 Apr 2013 19:27:36 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 30741 invoked by uid 500); 10 Apr 2013 19:27:36 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 30734 invoked by uid 99); 10 Apr 2013 19:27:36 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 19:27:36 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 577F5818DA3; Wed, 10 Apr 2013 19:27:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mlsorensen@apache.org To: commits@cloudstack.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to f66b9b5 Date: Wed, 10 Apr 2013 19:27:36 +0000 (UTC) Updated Branches: refs/heads/master 09542ce70 -> f66b9b570 Send only \n rather than \r\n to agent socket when sending cmdline to system VMS BUG-ID: CLOUDSTACK-1732 Signed-off-by: Marcus Sorensen 1365622030 -0600 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f66b9b57 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f66b9b57 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f66b9b57 Branch: refs/heads/master Commit: f66b9b570f2acb35acfda2d159dcde6fa62390d5 Parents: 09542ce Author: Marcus Sorensen Authored: Wed Apr 10 13:27:10 2013 -0600 Committer: Marcus Sorensen Committed: Wed Apr 10 13:27:10 2013 -0600 ---------------------------------------------------------------------- scripts/vm/hypervisor/kvm/patchviasocket.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f66b9b57/scripts/vm/hypervisor/kvm/patchviasocket.pl ---------------------------------------------------------------------- diff --git a/scripts/vm/hypervisor/kvm/patchviasocket.pl b/scripts/vm/hypervisor/kvm/patchviasocket.pl index 443d6e4..7bcd245 100644 --- a/scripts/vm/hypervisor/kvm/patchviasocket.pl +++ b/scripts/vm/hypervisor/kvm/patchviasocket.pl @@ -53,6 +53,6 @@ my $msg = "pubkey:" . $key . "\ncmdline:" . $cmdline; my $socket = IO::Socket::UNIX->new(Peer=>$sockfile,Type=>SOCK_STREAM) or die "ERROR: unable to connect to $sockfile - $^E\n"; -print $socket "$msg\r\n"; +print $socket "$msg\n"; close $socket;