Skip to content

Commit b07daac

Browse files
Merge pull request #733 from KeerthanaAP/extension_fix
Added fix for handling the file extensions in the boot directory.
2 parents 5f11d6f + f7d7e23 commit b07daac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/image/qcow2ova/prep/prepare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func prepare(mnt, volume, dist, rhnuser, rhnpasswd, rootpasswd string) error {
105105
}
106106

107107
// Verify /boot is mounted properly and files are present.
108-
bootDirFiles := []string{"config-*.ppc64le", "efi", "grub2", "initramfs-*.ppc64le.img", "loader", "symvers-*.ppc64le.gz", "System.map-*.ppc64le", "vmlinuz-*.ppc64le"}
108+
bootDirFiles := []string{"config-*.ppc64le", "efi", "grub2", "initramfs-*.ppc64le.img", "loader", "symvers-*.ppc64le.*", "System.map-*.ppc64le", "vmlinuz-*.ppc64le"}
109109
for _, file := range bootDirFiles {
110110
exist, err := checkFileExists(filepath.Join(mnt, "boot", file))
111111
if err != nil {

0 commit comments

Comments
 (0)