Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #98: remove excessive comma in docker config that blocks it from starting #99

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

ghormoon
Copy link
Contributor

@ghormoon ghormoon commented Mar 21, 2024

Removing excessive comma as reported in #98
edit: added also fix for containerd config

…blocks it from starting, remove excessive quote in containerd config
roles/common/tasks/docker.yml Outdated Show resolved Hide resolved
@ReSearchITEng ReSearchITEng merged commit 4ebc48e into ReSearchITEng:master Mar 21, 2024
1 check passed
@@ -251,7 +251,7 @@
lineinfile:
dest: /etc/containerd/config.toml
regexp: '^(.*)sandbox_image = "registry.k8s.io/pause(.*)$'
line: '\1sandbox_image = "{{ images_repo | default ("registry.k8s.io") }}/pause\2'
line: '\1sandbox_image = "{{ images_repo | default ("registry.k8s.io") }}/pause\2"'
Copy link
Contributor Author

@ghormoon ghormoon Mar 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, does it work for you like that? for me it creates

sandbox_image = "registry.k8s.io/pause:3.6""

unless i remove that quote.
the quote is part of the \2 backref. caught by (.*)$ on previous line. alternatively we can change the previous live to (.*)"$, does it make more sense to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants