From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2B18F158232 for ; Sat, 7 Dec 2024 13:27:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78232E0F99; Sat, 7 Dec 2024 13:26:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 644E2E0F99 for ; Sat, 7 Dec 2024 13:26:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A325E342FEA for ; Sat, 7 Dec 2024 13:26:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D01CAED for ; Sat, 7 Dec 2024 13:26:57 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1733577835.bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b.dilfridge@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/diskimagefs-update.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b X-VCS-Branch: master Date: Sat, 7 Dec 2024 13:26:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6c13dc25-f73f-4e29-b6ce-8b5adb5ddec8 X-Archives-Hash: 12e7741f8bdccaf5592cfa1419abb9c0 commit: bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Dec 7 13:23:55 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Dec 7 13:23:55 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=bd6c61fa Add support for cloud-init image Signed-off-by: Andreas K. Hüttel gentoo.org> targets/support/diskimagefs-update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/targets/support/diskimagefs-update.sh b/targets/support/diskimagefs-update.sh index f7da3f0f..bc7832e4 100755 --- a/targets/support/diskimagefs-update.sh +++ b/targets/support/diskimagefs-update.sh @@ -75,6 +75,13 @@ case ${clst_diskimage_type} in echo "Adding sshd service" systemctl enable sshd ;; + cloud-init|cloudinit) + echo "Setting up cloud-init image" + echo "Running systemd-firstboot" + systemd-firstboot --timezone=UTC || die "Failed running systemd-firstboot" + echo "Adding cloud-init service" + systemctl enable cloud-init || die "Failed to enable cloud-init service" + ;; *) die "As yet unsupported image type" ;;