cancel
Showing results for 
Search instead for 
Did you mean: 
  • 274 Views

how to download repo from url by using cloud-init script

Jump to solution

I am trying to download repo from url in directory to install package but unable to download repo in directory.

1 Solution

Accepted Solutions
Dave_ross
Mission Specialist
Mission Specialist
  • 177 Views

Hello, you can use the same files privided by the labs, for example the qcow2 images that are hosted in a web server..., use your imagination

this is my exaple for the cloud-init 

~~~

userData: |

   ....

   ....

   runcmd:

     - curl http://utility.lab.example.com:8080/openshift4/images/rhel9-helloworld.qcow2 -o /home/devops/rhel9.qcow2
​~~~

Reards!

View solution in original post

3 Replies
eddielau
Flight Engineer
Flight Engineer
  • 217 Views

This is something related to basic system admin skills, since you have 1 times free retake exam, you can recognise back the question and try simulate in your own labs. 

0 Kudos
  • 209 Views
There is no lab available for this activity. How we can simulate in lab.
0 Kudos
Dave_ross
Mission Specialist
Mission Specialist
  • 178 Views

Hello, you can use the same files privided by the labs, for example the qcow2 images that are hosted in a web server..., use your imagination

this is my exaple for the cloud-init 

~~~

userData: |

   ....

   ....

   runcmd:

     - curl http://utility.lab.example.com:8080/openshift4/images/rhel9-helloworld.qcow2 -o /home/devops/rhel9.qcow2
​~~~

Reards!

Join the discussion
You must log in to join this conversation.