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

provision.ps1: fixed virtio-win-guest-tools.exe installation #1516

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

zbleness
Copy link
Contributor

Description

We need to execute $guestToolsPath not $guestTools. ($guestTools is just an intermediate variable for setting $guestToolsLog.)

Newer virtio-win.iso has E:\virtio-win-guest-tools.exe. From the code it seems like older virtio-win.iso has this file in E:\driver. Made sure script works with both old and new virtio-win.iso.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

We need to execute \$guestToolsPath not \$guestTools.
(\$guestTools is just an intermediate variable for setting \$guestToolsLog.)

Newer virtio-win.iso has E:\virtio-win-guest-tools.exe. From the code it
seems like older virtio-win.iso has this file in  E:\driver.
Made sure script works with both old and new virtio-win.iso.

Signed-off-by: Zalan Bleneszy <[email protected]>
@zbleness zbleness requested review from a team and Stromweld as code owners July 25, 2023 08:57
@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Collaborator

@Stromweld Stromweld left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the update

@Stromweld Stromweld merged commit ebbbdcc into chef:main Jul 25, 2023
34 of 240 checks passed
hunleyd added a commit to hunleyd/bento that referenced this pull request Sep 9, 2023
* 'main' of github.com:chef/bento:
  Keep linux-kernel-header package installed for Parallels builds (chef#1526)
  Update Ubuntu 22.04 `iso_url` (chef#1527)
  Do not defrag and zerofill the disk twice during Windows cleanup and optimize (chef#1525)
  Update vmware vars for el9 derivitives (chef#1519)
  Update Debian from 12.0 to 12.1 (https://www.debian.org/News/2023/20230722) (chef#1517)
  provision.ps1: fixed virtio-win-guest-tools.exe installation (chef#1516)
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.

None yet

2 participants