chef / bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms
Apache License 2.0
4.24k stars 1.12k forks source link

Avoid downloading application to implement eject-media #1529

Closed MBradbury closed 1 year ago

MBradbury commented 1 year ago

Avoid downloading application to implement eject-media.ps1.

Description

eject-media.ps1 is currently implemented using EjectVolumeMedia. For Windows VMs that do not have internet access at build time they will be unable to download and execute this tool. So this change implements ejecting media (Floppy disk drives and CD drives) using pure powershell.

Related Issue

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

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

Stromweld commented 1 year ago

love it, thanks for the contribution. I'll try to get it tested in the next couple of days and then get it merged.