Skip to content

Commit

Permalink
Added common file name "meta-data" to userDataFiles string list in pr…
Browse files Browse the repository at this point in the history
…ovider_cdrom

Signed-off-by: Robert Loveless <[email protected]>
  • Loading branch information
robertwbl committed Jul 1, 2024
1 parent fa64b2f commit 6d1771c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/provider_cdrom.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
// ListCDROMs lists all the cdroms in the system
func ListCDROMs() []Provider {
// UserdataFiles is where to find the user data
var userdataFiles = []string{"user-data", "config"}
var userdataFiles = []string{"user-data", "meta-data", "config"}
cdroms, err := filepath.Glob(cdromDevs)
if err != nil {
// Glob can only error on invalid pattern
Expand Down

0 comments on commit 6d1771c

Please sign in to comment.