Skip to content

Commit 25f2249

Browse files
committed
rocky: Adapt sed for setting activators and renderers
After #63 (switching to Rocky version of cloud-init package) the bundled config has changed and we end up with: network: renderers: ['network-manager'] activators: ['network-manager']
1 parent 2571d5e commit 25f2249

File tree

1 file changed

+1
-1
lines changed
  • elements/rocky-container-stackhpc/containerfiles

1 file changed

+1
-1
lines changed

elements/rocky-container-stackhpc/containerfiles/9-stackhpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM docker.io/rockylinux/rockylinux:9
55
RUN dnf group install -y 'Minimal Install' --allowerasing && \
66
dnf install -y findutils util-linux cloud-init
77

8-
RUN sed -i "s/renderers:.*/renderers: ['network-manager']\n activators: ['network-manager']/" /etc/cloud/cloud.cfg
8+
RUN sed -i "s/renderers:.*/renderers: ['network-manager']\n activators: ['network-manager']/" /etc/cloud/cloud.cfg
99

1010
RUN systemctl unmask console-getty.service dev-hugepages.mount \
1111
getty.target sys-fs-fuse-connections.mount systemd-logind.service \

0 commit comments

Comments
 (0)