From nobody Thu May 07 15:27:05 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gBGMG0Kpzz6cjVK for ; Thu, 07 May 2026 15:27:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gBGMF5dfSz3RQ9 for ; Thu, 07 May 2026 15:27:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778167625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZjzZQ3S4ST5TvBnhnz3eXuy/XB3l5Y+odWYzxgJUFVY=; b=NjU2Xe+LVb47foWy/eU2tE+gZTDvY9gytYduAbF/lqT3qekATGYp79V/yG4NnlgjSJUVnK NHYaFytvBncehC+2InVooznbeF5VD2FJknmnrM6XNVLAXZr4vXxyFY0qOcPMHmF3e/K9SJ 5XfL7QM+hXczlcAtWLOzz9HMbJiWqOGLZDYbOYc4p9w5U0s+w4Ki76Hw7eYgSlTW9kiRsK rmHnHEdSz0n5Pegg+UH8UU05l38qFTgAQOCazaPbo3Yl7M3PKDpQA/sDhClGEyBfWewbFd alzag4iK3nsmNJZbXNEo7D49IV1GkKTULooSIaAt4iUKOR0xZxD3/dwYrtDg5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778167625; a=rsa-sha256; cv=none; b=HAiVLbDZa74nfSRb0g8Nxhj8zXCVOPqUiVPrFIb6bRsA53cH3dzPlQesDNishoB6cUEEJh +29tzpXOnmM8QIMnZYbSktM4M/lVqLMyCElqIhdhQCMSVDLaZIx5NN5eZuZFVTFUj9KleB EOjEEyZvz9buEZjvTcv7KlPOHH83yPrGKrBzMSEdGV+4uqWQAsRjZ/UZGtFGySzs4JOTyF /hEXDcM7GpOP5s3/T9JdOlXEFscOwnzp1dWuGgYTk4Y/Q1c2on8G+CZ6d3uhtGW/eLdbh1 f+zMujlElotZ6Wui97oLYsTOtj8UppYfKkXVDxrZI9j474Hj98jgDI0DxeYuQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778167625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZjzZQ3S4ST5TvBnhnz3eXuy/XB3l5Y+odWYzxgJUFVY=; b=LqwX4V6tGY+hz7LbgLe8XaLjrJVRUi3b6g2vGwplF7iw+/Et6/GZ2ZZpMIclPfKkB2RtdQ eqUm+0FYJbTpYH7rory1CdROQbxilhjzcUEDRAEnRKD6a+YUMLcPOd20XTx9Rrp9Ep4xPO /H29d7CB0XgaJfeFWi4ULDosHCDL5Zqqpi8/SZ2wNupm284CkF+UE3qM/2r2PB04F7ZlnZ 9uCrE0s5qQXTH/hPCfKqpq7C5jQj58rKEh1DIe7//rXXuBAU6Ydh5tNLEtYCy3PuscepnY h9xWPP41mtihsUokzm0hWb4oLXopkrNxTQsUKgeGWRoyaR+gcTaFa5KMVV1UoQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gBGMF4VRWzXpw for ; Thu, 07 May 2026 15:27:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 30137 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 07 May 2026 15:27:05 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Baptiste Daroussin Subject: git: 4211f280ba08 - stable/15 - nuageinit: only parse user_data as yaml when necessary List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 4211f280ba087c75dcd84f9b592238b2eae33af9 Auto-Submitted: auto-generated Date: Thu, 07 May 2026 15:27:05 +0000 Message-Id: <69fcaf49.30137.708c942d@gitrepo.freebsd.org> The branch stable/15 has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=4211f280ba087c75dcd84f9b592238b2eae33af9 commit 4211f280ba087c75dcd84f9b592238b2eae33af9 Author: Baptiste Daroussin AuthorDate: 2026-05-06 20:14:17 +0000 Commit: Baptiste Daroussin CommitDate: 2026-05-07 15:26:10 +0000 nuageinit: only parse user_data as yaml when necessary This fixes a regression introduced in cae280931c9e which prevents user_data as a shell script to be used PR: 295062 Reported by: Ross McKelvie MFC After: 1 day (cherry picked from commit c316ec259011e9e22e40eaa72d834f3bfac95c28) --- libexec/nuageinit/nuageinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/nuageinit/nuageinit b/libexec/nuageinit/nuageinit index f7700f7d8e70..a1ebd3f52b25 100755 --- a/libexec/nuageinit/nuageinit +++ b/libexec/nuageinit/nuageinit @@ -727,7 +727,7 @@ local function load_userdata() f:close() local obj = nil - if ud then + if ud and line == "#cloud-config" then f = io.open(ni_path .. "/" .. ud) obj = yaml.load(f:read("*a")) f:close()