- Fixes bug 1154
Change-Id: I60ac8b83b46f1c2435f7f90032be2be26ec38e2b
Signed-off-by: David Garcia <david.garcia@canonical.com>
# Calculate the default route of this machine
local DEFAULT_IF=`ip route list match 0.0.0.0 | awk '{print $5}'`
- local vca_apiproxy=`ip -o -4 a |grep ${DEFAULT_IF}|awk '{split($4,a,"/"); print a[1]}'`
# Generate a new overlay.yaml, overriding any existing one
cat << EOF > /tmp/vca-overlay.yaml
vca_port: $vca_port
vca_pubkey: $vca_pubkey
vca_cacert: $vca_cacert
- vca_apiproxy: $vca_apiproxy
vca_cloud: $vca_cloud
vca_k8s_cloud: $K8S_CLOUD_NAME
mon-k8s: