From 84df2d17588a6531c0e2b19b3db04ae24ade7be3 Mon Sep 17 00:00:00 2001 From: Alex-Welsh Date: Wed, 27 Mar 2024 11:27:09 +0000 Subject: [PATCH] Fix Rocky container sed formatting --- elements/rocky-container-stackhpc/containerfiles/9-stackhpc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/rocky-container-stackhpc/containerfiles/9-stackhpc b/elements/rocky-container-stackhpc/containerfiles/9-stackhpc index 0eb6ce7..a274e4c 100644 --- a/elements/rocky-container-stackhpc/containerfiles/9-stackhpc +++ b/elements/rocky-container-stackhpc/containerfiles/9-stackhpc @@ -6,7 +6,7 @@ RUN dnf group install -y 'Minimal Install' --allowerasing && \ dnf install -y findutils util-linux \ https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/cloud-init-23.4-7.el9.noarch.rpm -RUN sed -i "s/renderers:.*/renderers: ['network-manager']\n activators: ['network-manager']/" /etc/cloud/cloud.cfg +RUN sed -i "s/renderers:.*/{renderers: ['network-manager'], activators: ['network-manager'] }/" /etc/cloud/cloud.cfg RUN systemctl unmask console-getty.service dev-hugepages.mount \ getty.target sys-fs-fuse-connections.mount systemd-logind.service \