Commit 8e9c4820 authored by Maarten de Waard's avatar Maarten de Waard
Browse files

Merge branch '442-hostname-is-still-too-long' into 'master'

Resolve "Hostname is still too long"

Closes #442

See merge request openappstack/openappstack!188
parents 104875b9 ab6f80ca
......@@ -2,10 +2,6 @@
# Check if cluster directory was available from cache
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 ]
then
ip_address=$(python -m openappstack ${HOSTNAME} info --ip-address)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment