Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading certain Remote URLs fails to work #1933

Open
logonoff opened this issue Dec 2, 2024 · 1 comment
Open

Downloading certain Remote URLs fails to work #1933

logonoff opened this issue Dec 2, 2024 · 1 comment

Comments

@logonoff
Copy link

logonoff commented Dec 2, 2024

I am trying to create a Windows 10 VM by having cockpit directly download the ISO from Microsoft, but it can't seem to be able to. The workaround I used was to download it using wget and then install with the local install media option

Version info

  • cockpit versions 314-1
  • cockpit-machines version 310-1
  • Ubuntu 24.04.1 LTS

Steps to reproduce

  1. Open the "Create new virtual machine" form
  2. Set "URL (ISO image or distro install tree)" as the installation type
  3. Set https://software.download.prss.microsoft.com/dbazure/Win10_22H2_French_x64.iso?t=d15db065-bed7-4253-add6-8a097983842e&e=1683108181&h=c0ed4eb8dcc059733be249738495642b0cafbac4324f70ff354ed8debecbbbf2 as the installation source
  4. Set "Microsoft Windows 10 (10.0)" as the operating system
  5. Click "Create and run"

Expected result

The ISO proceeds to download and installation proceeds as normal

Actual result

An error toast pops up and the creation of the VM fails with the error

ERROR Unknown --location options: ['https://software.download.prss.microsoft.com/dbazure/Win10_22H2_French_x64.iso?t'] 
@jelly
Copy link
Member

jelly commented Dec 4, 2024

It is passed to --location:

  -l LOCATION, --location LOCATION
                        Distro install URL, eg. https://host/path. See man page for specific distro examples.

So as far as I know this needs to be known in osinfo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants