projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commented unncesary placement group of one vdu
[osm/devops.git]
/
installers
/
install_osm.sh
diff --git
a/installers/install_osm.sh
b/installers/install_osm.sh
index
9d10308
..
d51cf85
100755
(executable)
--- a/
installers/install_osm.sh
+++ b/
installers/install_osm.sh
@@
-188,6
+188,12
@@
function configure(){
echo -e " Configuring SO"
sudo route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP
sudo sed -i "$ i route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP" /etc/rc.local
echo -e " Configuring SO"
sudo route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP
sudo sed -i "$ i route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP" /etc/rc.local
+
+ # make journaling persistent
+ lxc exec SO-ub -- mkdir -p /var/log/journal
+ lxc exec SO-ub -- systemd-tmpfiles --create --prefix /var/log/journal
+ lxc exec SO-ub -- systemctl restart systemd-journald
+
echo RIFT_EXTERNAL_ADDRESS=$DEFAULT_IP | lxc exec SO-ub -- tee -a /usr/rift/etc/default/launchpad
lxc exec SO-ub -- systemctl restart launchpad
echo RIFT_EXTERNAL_ADDRESS=$DEFAULT_IP | lxc exec SO-ub -- tee -a /usr/rift/etc/default/launchpad
lxc exec SO-ub -- systemctl restart launchpad
@@
-405,7
+411,7
@@
echo -e "Checking required packages: lxd"
lxd --version &>/dev/null || FATAL "lxd not present, exiting."
[ -n "$LXD" ] && echo -e "\nConfiguring lxd" && install_lxd
lxd --version &>/dev/null || FATAL "lxd not present, exiting."
[ -n "$LXD" ] && echo -e "\nConfiguring lxd" && install_lxd
-wget -q -O- https://osm-download.etsi.org/ftp/osm-
2.0-two
/README.txt &> /dev/null
+wget -q -O- https://osm-download.etsi.org/ftp/osm-
3.0-three
/README.txt &> /dev/null
# use local devops for containers
export OSM_USE_LOCAL_DEVOPS=true
# use local devops for containers
export OSM_USE_LOCAL_DEVOPS=true
@@
-429,5
+435,5
@@
nat
#Configure components
configure
#Configure components
configure
-wget -q -O- https://osm-download.etsi.org/ftp/osm-
2.0-two
/README2.txt &> /dev/null
+wget -q -O- https://osm-download.etsi.org/ftp/osm-
3.0-three
/README2.txt &> /dev/null
echo -e "\nDONE"
echo -e "\nDONE"