Skip to content

fix(networking): remove backticks in cloud-config yaml#978

Open
starbops wants to merge 1 commit intoharvester:mainfrom
starbops:fix-format
Open

fix(networking): remove backticks in cloud-config yaml#978
starbops wants to merge 1 commit intoharvester:mainfrom
starbops:fix-format

Conversation

@starbops
Copy link
Member

Correct the YAML format for better copy-and-paste usability.

@github-actions
Copy link

github-actions bot commented Feb 23, 2026

Name Link
🔨 Latest commit 3a7c5fa
😎 Deploy Preview https://69b13b4ee0012cc88dd23936--harvester-preview.netlify.app

@starbops
Copy link
Member Author

starbops commented Mar 3, 2026

Hi @akashraj4261. Could you help review this. Thank you.

akashraj4261
akashraj4261 previously approved these changes Mar 10, 2026
Signed-off-by: Zespre Chang <zespre.chang@suse.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the copy/paste usability of the cloud-config YAML snippets in the Kube-OVN VPC networking documentation by removing stray inline-code backticks and presenting the YAML as a normal indented block.

Changes:

  • Replaced the incorrectly backticked users YAML entries with standard YAML indentation.
  • Applied the same formatting fix across current docs and versioned docs (v1.6, v1.7).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
docs/networking/kubeovn-vpc.md Fixes cloud-config YAML snippet formatting in two sections.
versioned_docs/version-v1.6/networking/kubeovn-vpc.md Mirrors the same YAML formatting adjustment for v1.6 docs.
versioned_docs/version-v1.7/networking/kubeovn-vpc.md Mirrors the same YAML formatting adjustment for v1.7 docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

groups: [ sudo ]
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock\_passwd: false
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

In a fenced code block, underscores don’t need escaping; the backslash becomes part of the copied YAML key. lock\_passwd will not be recognized by cloud-init (should be lock_passwd). Remove the backslash so the snippet is valid when copied.

Suggested change
lock\_passwd: false
lock_passwd: false

Copilot uses AI. Check for mistakes.
groups: [ sudo ]
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock\_passwd: false
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

In a fenced code block, underscores don’t need escaping; the backslash becomes part of the copied YAML key. lock\_passwd will not be recognized by cloud-init (should be lock_passwd). Remove the backslash so the snippet is valid when copied.

Suggested change
lock\_passwd: false
lock_passwd: false

Copilot uses AI. Check for mistakes.
groups: [ sudo ]
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock\_passwd: false
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

In a fenced code block, underscores don’t need escaping; the backslash becomes part of the copied YAML key. lock\_passwd will not be recognized by cloud-init (should be lock_passwd). Remove the backslash so the snippet is valid when copied.

Suggested change
lock\_passwd: false
lock_passwd: false

Copilot uses AI. Check for mistakes.
groups: [ sudo ]
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock\_passwd: false
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

In a fenced code block, underscores don’t need escaping; the backslash becomes part of the copied YAML key. lock\_passwd will not be recognized by cloud-init (should be lock_passwd). Remove the backslash so the snippet is valid when copied.

Suggested change
lock\_passwd: false
lock_passwd: false

Copilot uses AI. Check for mistakes.
groups: [ sudo ]
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock\_passwd: false
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

In a fenced code block, underscores don’t need escaping; the backslash becomes part of the copied YAML key. lock\_passwd will not be recognized by cloud-init (should be lock_passwd). Remove the backslash so the snippet is valid when copied.

Suggested change
lock\_passwd: false
lock_passwd: false

Copilot uses AI. Check for mistakes.
groups: [ sudo ]
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock\_passwd: false
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

In a fenced code block, underscores don’t need escaping; the backslash becomes part of the copied YAML key. lock\_passwd will not be recognized by cloud-init (should be lock_passwd). Remove the backslash so the snippet is valid when copied.

Suggested change
lock\_passwd: false
lock_passwd: false

Copilot uses AI. Check for mistakes.
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.

4 participants