4d806b3aee
Change-Id: I795ef004f5640b0a02ec8b2fd106a837b36ffdd9
11 lines
349 B
Bash
11 lines
349 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Hacky way to find out which release should be updated
|
|
RELEASE_ID=$(fuel rel | grep Ubuntu | grep -v UCA | awk '{print $1}')
|
|
TMP_FILE="$(mktemp).yaml"
|
|
fuel role --rel "$RELEASE_ID" --role controller --file "$TMP_FILE"
|
|
sed -i 's/ min: ./ min: 0/' "$TMP_FILE"
|
|
fuel role --rel 2 --update --file "$TMP_FILE"
|
|
rm -f "$TMP_FILE"
|