Gosal needs to handle the disk array returned from win32_localdisk better.
currently it assumes that the index 1https://github.com/airbnb/gosal/blob/master/reports/builder.go#L25 is the disk that we want to send. Depending on the windows install, disk 1 could be the DVD drive, or some other drive. We need to detect C: in a dynamic way, and always return that to Sal's base report.
Gosal needs to handle the disk array returned from
win32_localdisk
better.currently it assumes that the
index 1
https://github.com/airbnb/gosal/blob/master/reports/builder.go#L25 is the disk that we want to send. Depending on the windows install, disk 1 could be the DVD drive, or some other drive. We need to detect C: in a dynamic way, and always return that to Sal's base report.