Change-Id: Icc13bf72b664bad928d90e040f2ce55608dad759
Signed-off-by: David Garcia <david.garcia@canonical.com>
&& python3 -m pip install -U pip \
&& python3 -m pip install -U aiokafka lxml six enum34 \
&& python3 -m pip install requests \
- && python3 -m pip install -U juju \
+ && python3 -m pip install -U "juju==2.8.1" \
&& rm -rf /var/lib/apt/lists/*
# RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
python3-n2vc${N2VC_VERSION}
-RUN python3 -m pip install -U juju
+RUN python3 -m pip install -U "juju==2.8.1"
COPY scripts/ scripts/
ubuntu1604
ssh-keygen -t rsa -N "" -f ~/.ssh/microstack
microstack.openstack keypair create --public-key ~/.ssh/microstack.pub microstack
- export OSM_HOSTNAME=`juju status --format yaml | yq r - applications.nbi-k8s.address`
+ export OSM_HOSTNAME=`juju status --format yaml | yq -r '.applications["nbi-k8s"].address'`
osm vim-create --name microstack-site \
--user admin \
--password keystone \
echo
echo "1. Get the NBI IP with the following command:"
echo
- echo "juju status --format yaml | yq r - applications.nbi-k8s.address"
+ echo "juju status --format yaml | yq -r '.applications[\"nbi-k8s\"].address'"
echo
echo "2. Create the OSM_HOSTNAME environment variable with the NBI IP"
echo