All of this can be found in the Che docs, but not all in one place.
You must set up the ip alias with a specific IP address (the subnet is not good enough)
This approach comes from a Stack Overflow answer https://stackoverflow.com/questions/7708681/how-to-read-from-a-properties-file-using-batch-script#7708757
The use case for me is reading the user's .cxxirc file, which looks something like this
CXXIBASE=P:\projects\cxxi_home\stablebuild_20171031\cxxi\
CXXIJRE=C:\Program Files\Java\jdk1.8.0_121
CXXIOUTPUT=P:\projects\OUTPUT\
I hereby claim:
To claim this, I am signing this object:
| [hawtio-oauth] All oauth plugins have executed | |
| https://52.11.245.16/oapi Failed to load resource: the server responded with a status of 404 (Not Found) | |
| libs-f1798ed4.js:10 [kubernetes-watcher] Backend is a vanilla Kubernetes instance | |
| https://52.11.245.16/jolokia Failed to load resource: the server responded with a status of 404 (Not Found) | |
| https://52.11.245.16/hawtio/jolokia Failed to load resource: the server responded with a status of 404 (Not Found) | |
| app-c22e1c22.js:1 Listening on: /workspaces/:namespace/forge/createProject | |
| libs-f1798ed4.js:10 [fabric8-console] started, version: 1.0.73 | |
| libs-f1798ed4.js:10 [fabric8-console] commit ID: 801b13e61a8dcfda94a8115a6f9d5178d3b56a4d |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" | |
| xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
| <ShortName>Pinboard</ShortName> | |
| <Description>HTTPS search of Pinboard.in</Description> | |
| <InputEncoding>UTF-8</InputEncoding> | |
| <Image width="16" height="16" type="image/x-icon">data:image/x-icon;base64,AAABAAEAEBAAAAAAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAAG//AABy/wAAdP8AAHb/AAB2/wAAdv8AAHb/AAB2/wAAdv8AAHb/AAB2/wAAdf8AAHX/AAB0/zAwjf9QUJ3/AABs/wAAbv8AAHD/AABz/wAAdf8AAHb/AAB2/wAAdv8AAHb/AAB2/wAAdv8AAHb/AAB1/zAwj/+/v9z/EBB8/wAAef8AAHX/AABx/wAAb/8AAHH/AAB0/wAAdf8AAHb/AAB2/wAAdv8AAHb/AAB2/0BAmP/f3+7/EBB+/wAAdf8AAIr/AACN/wAAj/8AAI//AACI/zAwl/9gYKf/AAB0/wAAdv8AAHb/AAB2/2Bgqf/v7/b/MDCQ/wAAdv8AAHb/AACM/wAAjv8AAJH/AACT/wAAlf8gIKX//////2Bguv8AAIf/AAB4/2Bgqf/v7/b/MDCQ/wAAdv8AAHb/AAB2/wAAjv8AAJD/AACS/wAAlf8AAJf/AACZ/9/f8///////YGDD/5+f3P//////YGCv/wAAdv8AAHb/AAB2/wAAdv8AAI//AACS/wAAlP8AAJf/AACZ/zAwrf//// |
| SIMTIME SOURCE CALL SOURCE CHANGE_TRIGGER STACK TREE TOP | |
| 1.01 B_AH-1Z_H1 null ADD_GOAL | |
| default | |
| TacAirCycle true | |
| fires | |
| B_RW_BasicBehavior true | |
| 3.0 B_AH-1Z_H1 null ADD_GOAL | |
| default | |
| TacAirCycle true | |
| fires |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\IEDevTools] | |
| "Disabled"=- | |
| [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\IEDevTools] | |
| "Disabled"=- | |
| <!doctype html> | |
| <html ng-app="Demo" ng-controller="DemoController"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title> | |
| Grouping Nested ngRepeat Lists In AngularJS | |
| </title> | |
| </head> | |
| <body> |
| // We assume that the input file 'users.csv' is a three field | |
| // comma separated list of users | |
| // John Q. User, [email protected], password_ofjohn | |
| // | |
| // Password can be empty, but the csv still needs a field there | |
| // | |
| // John Q. User, [email protected], | |
| // (note the trailing comma) | |
| // | |
| // The name field must have at least two tokens. If there are three or more |
| @Grab(group='com.github.groovy-wslite', module='groovy-wslite', version='0.7.2') | |
| import wslite.rest.* | |
| import wslite.http.auth.* | |
| println "This is the add user script" | |
| def client = new RESTClient("http://localhost:8080/api/jsonws/") | |
| client.authorization = new HTTPBasicAuthorization("[email protected]", "test") | |
| client.httpClient.sslTrustAllCerts = true |