Unable to Select Custom Image

Đang mở
#342 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
cli, devops

Hướng nghiên cứu

The failing path is the -FindImageFile selection in Start-OSDCloud, which lists a local .ESD under X:\OSDCloud\OS and then throws an Incorrect Function error. Start with the image-selection and file-handling code in the OSD PowerShell module, then reproduce by placing a custom .ESD in that folder and running Start-OSDCloud with -FindImageFile. Done means the selected local image deploys without error, and the -ImageURL path keeps working.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Something has changed in the most recent releases. I'm no longer able to select a custom image file using -FindImageFile with Start-OSDCloud.

I'm using OSD to create a custom BOOT.WIM file which is then deployed using Microsoft WDS.

I have a custom .ESD file in X:\OSDCloud\OS folder, it displays it as a selectable option and then after I select it, I get an Incorrect Function error. See attached screenshot.

I've tried deleting and recreating my workspace and it still remains.

If I use -ImageURL and -OSImageIndex pointing to the file on a webserver it works fine. But it slows down the install process as it has to download file and then extract it versus already having the file baked in as part of the boot.wim and only having to decompress it.

Can this functionality be fixed?

Image
Ngôn ngữ chính
PowerShell
Star
251
Fork
102
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OSDeploy/OSD

Tất cả issue của OSDeploy/OSD

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.