image:
type: string
description: OCI image
- default: opensourcemano/lcm:8
+ default: opensourcemano/lcm:9
image_username:
description: Docker repository username
type: string
image:
type: oci-image
description: OSM docker image for LCM
- upstream-source: "opensourcemano/lcm:8"
+ upstream-source: "opensourcemano/lcm:9"
requires:
kafka:
interface: kafka
image:
type: string
description: OCI image
- default: opensourcemano/mon:8
+ default: opensourcemano/mon:9
image_username:
description: Docker repository username
type: string
image:
type: oci-image
description: OSM docker image for MON
- upstream-source: "opensourcemano/mon:8"
+ upstream-source: "opensourcemano/mon:9"
requires:
kafka:
interface: kafka
image:
type: string
description: OCI image
- default: opensourcemano/nbi:8
+ default: opensourcemano/nbi:9
image_username:
description: Docker repository username
type: string
image:
type: oci-image
description: OSM docker image for NBI
- upstream-source: "opensourcemano/nbi:8"
+ upstream-source: "opensourcemano/nbi:9"
requires:
kafka:
interface: kafka
image:
type: oci-image
description: OSM docker image for NBI
- upstream-source: "opensourcemano/ng-ui:8"
+ upstream-source: "opensourcemano/ng-ui:9"
image:
type: string
description: OCI image
- default: opensourcemano/pol:8
+ default: opensourcemano/pol:9
image_username:
description: Docker repository username
type: string
image:
type: oci-image
description: OSM docker image for POL
- upstream-source: "opensourcemano/pol:8"
+ upstream-source: "opensourcemano/pol:9"
requires:
kafka:
interface: kafka
image:
type: string
description: OCI image
- default: opensourcemano/ro:8
+ default: opensourcemano/ro:9
image_username:
description: Docker repository username
type: string
database_commonkey:
description: Database common key
type: string
- default: osm
\ No newline at end of file
+ default: osm
image:
type: string
description: OCI image
- default: opensourcemano/light-ui:8
+ default: opensourcemano/light-ui:9
image_username:
description: Docker repository username
type: string
sudo snap install jq
sudo snap install yq
local HOME=/home/$USER
- local vca_user=$(cat $HOME/.local/share/juju/accounts.yaml | yq r - controllers.$CONTROLLER_NAME.user)
- local vca_password=$(cat $HOME/.local/share/juju/accounts.yaml | yq r - controllers.$CONTROLLER_NAME.password)
- local vca_host=$(cat $HOME/.local/share/juju/controllers.yaml | yq r - controllers.$CONTROLLER_NAME.api-endpoints[0] | cut -d ":" -f 1)
- local vca_port=$(cat $HOME/.local/share/juju/controllers.yaml | yq r - controllers.$CONTROLLER_NAME.api-endpoints[0] | cut -d ":" -f 2)
+ local vca_user=$(cat $HOME/.local/share/juju/accounts.yaml | yq e .controllers.$CONTROLLER_NAME.user - )
+ local vca_password=$(cat $HOME/.local/share/juju/accounts.yaml | yq e .controllers.$CONTROLLER_NAME.password - )
+ local vca_host=$(cat $HOME/.local/share/juju/controllers.yaml | yq e .controllers.$CONTROLLER_NAME.api-endpoints[0] - | cut -d ":" -f 1)
+ local vca_port=$(cat $HOME/.local/share/juju/controllers.yaml | yq e .controllers.$CONTROLLER_NAME.api-endpoints[0] - | cut -d ":" -f 2)
local vca_pubkey=\"$(cat $HOME/.local/share/juju/ssh/juju_id_rsa.pub)\"
local vca_cloud="lxd-cloud"
# Get the VCA Certificate
- local vca_cacert=$(cat $HOME/.local/share/juju/controllers.yaml | yq r - controllers.$CONTROLLER_NAME.ca-cert | base64 | tr -d \\n)
+ local vca_cacert=$(cat $HOME/.local/share/juju/controllers.yaml | yq e .controllers.$CONTROLLER_NAME.ca-cert - | base64 | tr -d \\n)
# Calculate the default route of this machine
local DEFAULT_IF=`ip route list match 0.0.0.0 | awk '{print $5}'`