Skip to content

Commit

Permalink
[crc] Add welcome information
Browse files Browse the repository at this point in the history
This welcome information will give a hint to start CRC cluster
after host reinstallation.

Change-Id: I2b62a64a85a6b772a86bab422bb5c9579e949fc0
  • Loading branch information
danpawlik committed Nov 18, 2022
1 parent e818e99 commit d02813f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/extra/crc/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@

- name: Enable OpenShift Web Console
include_tasks: console.yaml

- name: Add welcome information
include_tasks: welcome.yaml
17 changes: 17 additions & 0 deletions roles/extra/crc/tasks/welcome.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
- name: Add information to the motd
become: true
copy:
content: |
####################################
Welcome on Openshift CRC deployment!
To start CRC:
/usr/local/bin/crc start --memory 14000 --disk-size 80 --cpus 6
To reach the OpenShift console and services, check ~/constole-access.sh script.
Happy OpenShifting!
####################################
dest: /etc/motd

0 comments on commit d02813f

Please sign in to comment.