Skip to content
Snippets Groups Projects
Commit 5cc6ccc3 authored by Jeremy Mordkoff's avatar Jeremy Mordkoff
Browse files

make SO logs persistent


Signed-off-by: default avatarJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
parent b884a463
No related branches found
No related tags found
No related merge requests found
......@@ -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
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment