kubevirt / kubevirt.github.io

KubeVirt website repo, documentation at https://kubevirt.io/user-guide/
https://kubevirt.io
MIT License
30 stars 113 forks source link

In labs, replace wget with curl, as wget isn't available OOTB in common linux flavours #969

Open chandramerla opened 1 month ago

chandramerla commented 1 month ago

Description: As wget isn't present OOTB in linux flavours like RHEL, when lab1 first command is executed (wget https://kubevirt.io/labs/manifests/vm.yaml), got error "wget: command not found". Also wget is used in lab2 as detailed in Additional context section below.

What you expected: Download to work always. So, as curl is more standardly available across linux flavours than wget, replace wget with curl across all labs.

URL:

  1. https://kubevirt.io/labs/kubernetes/lab1.html
  2. https://kubevirt.io/labs/kubernetes/lab2.html

Additional context:

In lab2 also, I see usage of wget at places along with curl usage: ex:

Let’s create a Virtual Machine making use of it. Review the file vm1_pvc.yml.

Copy
wget https://kubevirt.io/labs/manifests/vm1_pvc.yml

My OS details, where wget isn't present:

[root@vm1 ~]# cat /etc/os-release NAME="Red Hat Enterprise Linux" VERSION="9.4 (Plow)" ID="rhel" ID_LIKE="fedora" VERSION_ID="9.4" PLATFORM_ID="platform:el9" PRETTY_NAME="Red Hat Enterprise Linux 9.4 (Plow)" ANSI_COLOR="0;31" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9" BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9" REDHAT_BUGZILLA_PRODUCT_VERSION=9.4 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.4" [root@vmx1 ~]#

chandramerla commented 1 month ago

/label good first issue

chandramerla commented 1 month ago

Proposed solution: replace wget with 'curl -O'

prasad89 commented 1 month ago

Hi @chandramerla can I wok on this?

laxmi-333 commented 1 month ago

Hi @prasad89,

I have already started looking on this as @chandramerla asked to work

laxmi-333 commented 1 month ago

/assign @laxmi-333