Skip to content

[pcie-check] Update underlying pcieutil command and add to sudoers file#6682

Merged
lguohan merged 1 commit intosonic-net:masterfrom
jleveque:fix_pcie_check
Feb 4, 2021
Merged

[pcie-check] Update underlying pcieutil command and add to sudoers file#6682
lguohan merged 1 commit intosonic-net:masterfrom
jleveque:fix_pcie_check

Conversation

@jleveque
Copy link
Contributor

@jleveque jleveque commented Feb 4, 2021

- Why I did it

As of sonic-net/sonic-utilities#1297, subcommands of pcieutil have changed to remove the redundant pcie- prefix. This PR adapts calling applications (pcie-check) to the new syntax.

Resolves #6676

- How I did it

  • Remove pcie- prefix from pcieutil subcommands in calling applications
  • Also add pcieutil * to sudoers file, as pcieutil requires elevated permissions

- How to verify it

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@lguohan lguohan merged commit 820d350 into sonic-net:master Feb 4, 2021
@jleveque jleveque deleted the fix_pcie_check branch February 4, 2021 20:18
daall pushed a commit that referenced this pull request Feb 5, 2021
…le (#6682)

- Why I did it

As of sonic-net/sonic-utilities#1297, subcommands of pcieutil have changed to remove the redundant pcie- prefix. This PR adapts calling applications (pcie-check) to the new syntax.

Resolves #6676

- How I did it

Remove pcie- prefix from pcieutil subcommands in calling applications
Also add pcieutil * to sudoers file, as pcieutil requires elevated permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pcie-check.sh] Incorrect command in pcie-check.sh

4 participants