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 3538815802C for ; Fri, 20 Dec 2024 19:28:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 600D2E085A; Fri, 20 Dec 2024 19:28:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BC26E085B for ; Fri, 20 Dec 2024 19:28:33 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D26F433E3A9 for ; Fri, 20 Dec 2024 19:28:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32D791E65 for ; Fri, 20 Dec 2024 19:28:30 +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: <1734722879.07209c3701c5f71a7528b6441aca0cf11140b583.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: 07209c3701c5f71a7528b6441aca0cf11140b583 X-VCS-Branch: master Date: Fri, 20 Dec 2024 19:28:30 +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: 1685be08-97c0-4908-9be1-670f0862f782 X-Archives-Hash: 919e8ba69ac1f5a6951d89893ecfb59f commit: 07209c3701c5f71a7528b6441aca0cf11140b583 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Dec 20 19:27:59 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Fri Dec 20 19:27:59 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=07209c37 Properly enable all cloud-init services Signed-off-by: Andreas K. Hüttel gentoo.org> targets/support/diskimagefs-update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/targets/support/diskimagefs-update.sh b/targets/support/diskimagefs-update.sh index 67a350d1..6a87f46e 100755 --- a/targets/support/diskimagefs-update.sh +++ b/targets/support/diskimagefs-update.sh @@ -80,6 +80,10 @@ case ${clst_diskimage_type} in echo "Setting up cloud-init image" echo "Running systemd-firstboot" systemd-firstboot --timezone=UTC || die "Failed running systemd-firstboot" + echo "Enabling cloud-init services" + for name in cloud-init-main cloud-init-local cloud-init-network cloud-config cloud-final ; do + systemctl enable ${name}.service || die "Failed enabling ${name}.service" + done ;; *) die "As yet unsupported image type"