Bug 983605

Summary: Remove Online-specific text from gear shell message
Product: OKD Reporter: Brenton Leanhardt <bleanhar>
Component: ContainersAssignee: Michal Fojtik <mfojtik>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, chunchen, libra-onpremise-devel, lmeyer, mfojtik, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 974692 Environment:
Last Closed: 2013-08-29 12:46:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 974692    

Description Brenton Leanhardt 2013-07-11 14:33:07 UTC
We won't want Origin to reference the Online legal terms.

+++ This bug was initially created as a clone of Bug #974692 +++

Description of problem:
When a developer logs into their gear, they are greeted by a message. This message has some Online-specific components that should be removed. Ideally, it would actually be completely configurable by the administrator.

Actual results:
    *********************************************************************

    You are accessing a service that is for use only by authorized users.  
    If you do not have authorization, discontinue use at once. 
    Any use of the services is subject to the applicable terms of the 
    agreement which can be found at: 
    https://www.openshift.com/legal

    *********************************************************************


Expected results:
Nothing about www.openshift.com/legal. In fact, I'd like an option in /etc/openshift/node.conf to specify a file to use instead of this message.

Additional info:
Probably be best to get rid of the v2 cart msg too.

--- Additional comment from RHEL Product and Program Management on 2013-06-14 16:26:07 EDT ---

Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Brenton Leanhardt on 2013-07-11 10:31:19 EDT ---

Let's skin this appropriately.  I'm going to clone this to Origin.

Comment 1 Michal Fojtik 2013-08-20 15:03:16 UTC
Hi guys,

I made a pull request to fix this issue:
https://github.com/openshift/origin-server/pull/3432

Comment 2 openshift-github-bot 2013-08-22 22:08:03 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/3976aab0642909ff4fe16cd3ef82fc87f9cd6763
Bug 983605 - Allow to administrator to change the default 'rhc ssh' motd

Comment 4 Meng Bo 2013-08-26 03:15:48 UTC
Checked on devenv_3706,

1.Add following line into node.conf file
MOTD_FILE="/etc/openshift/welcome.rhcsh"
2.Create file with test strings
# cat /etc/openshift/welcome.rhcsh
test
3.Restart mcollective service
4.SSH login to gears

# ssh cc9909340dfb11e3bc7a22000ab3288a.rhcloud.com
test
[app2-bmeng.dev.rhcloud.com cc9909340dfb11e3bc7a22000ab3288a]\> 

Move bug to verified.