mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Merge pull request #31 from sidharthamani/master
add upgrade framework for rancherctl os command
This commit is contained in:
@@ -32,7 +32,7 @@ if [ "$USE_TLS" == "true" ]; then
|
||||
echo "$TLS_SERVER_CERT" > $TLS_PATH/server-cert.pem
|
||||
echo "$TLS_SERVER_KEY" > $TLS_PATH/server-key.pem
|
||||
else
|
||||
tlsconf
|
||||
rancherctl tlsconf create
|
||||
TLS_CA_CERT="$(cat $TLS_PATH/ca.pem)"
|
||||
TLS_SERVER_CERT="$(cat $TLS_PATH/server-cert.pem)"
|
||||
TLS_SERVER_KEY="$(cat $TLS_PATH/server-key.pem)"
|
||||
|
Reference in New Issue
Block a user