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

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

Open
chandramerla opened this issue Sep 13, 2024 · 5 comments
Assignees
Labels
good-first-issue Identifies an issue that has been specifically created or selected for first-time contributors. hacktoberfest Categorizes as a Hacktoberfest contribution

Comments

@chandramerla
Copy link

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
Copy link
Author

/label good first issue

@chandramerla
Copy link
Author

Proposed solution: replace wget with 'curl -O'

@prasad89
Copy link

prasad89 commented Sep 13, 2024

Hi @chandramerla can I wok on this?

@laxmi-333
Copy link

laxmi-333 commented Sep 13, 2024

Hi @prasad89,

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

@laxmi-333
Copy link

/assign @laxmi-333

@aburdenthehand aburdenthehand added good-first-issue Identifies an issue that has been specifically created or selected for first-time contributors. hacktoberfest Categorizes as a Hacktoberfest contribution labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue Identifies an issue that has been specifically created or selected for first-time contributors. hacktoberfest Categorizes as a Hacktoberfest contribution
Projects
None yet
Development

No branches or pull requests

4 participants