diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-12-07 14:23:55 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-12-07 14:23:55 +0100 |
commit | bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b (patch) | |
tree | 2b92f51893cb45418676f88d3b7a788e5e1b35c1 /targets | |
parent | arch: Delete i686-t64 subarch, not needed (diff) | |
download | catalyst-bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b.tar.gz catalyst-bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b.tar.bz2 catalyst-bd6c61fa7415fd5f24dbf75a3fdcd8c08bc2bd7b.zip |
Add support for cloud-init image
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'targets')
-rwxr-xr-x | targets/support/diskimagefs-update.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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" ;; |