Skip to content
Snippets Groups Projects
Verified Commit ab6f80ca authored by Arie Peterson's avatar Arie Peterson
Browse files

Revert hostname truncation

parent 104875b9
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
# Check if cluster directory was available from cache # Check if cluster directory was available from cache
set -v set -v
# Shorten the hostname to work around a bug in cosmos, which fails to create a
# working VPS if the the hostname is too long.
HOSTNAME=$(expr substr "${HOSTNAME}" 1 40)
if [ -d clusters/$HOSTNAME/secrets ] if [ -d clusters/$HOSTNAME/secrets ]
then then
ip_address=$(python -m openappstack ${HOSTNAME} info --ip-address) ip_address=$(python -m openappstack ${HOSTNAME} info --ip-address)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment