From d81934e44c3f1b15b1382baa04f307d3b8853322 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Thu, 8 Jan 2015 14:06:28 -0500 Subject: [PATCH] Fixed bad reference path and added a note to lxc-bootstrap about weird lxc caching issue --- installer/install | 2 +- installer/lxc-bootstrap | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/installer/install b/installer/install index 3e5d2b156..f5d77db34 100755 --- a/installer/install +++ b/installer/install @@ -373,7 +373,7 @@ ln -sf /usr/bin/liquidsoap /usr/bin/airtime-liquidsoap verbose "...Done" sed "s@WEB_USER@${web_user}@g;s@WEB_ROOT@${web_root}@g" ${SCRIPT_DIR}/lib/airtime-session-init.conf > /etc/init/airtime-session-init.conf -chmod 644 /etc/init/airtime/* +chmod 644 /usr/share/upstart/sessions/airtime* initctl reload-configuration service airtime-session-init start diff --git a/installer/lxc-bootstrap b/installer/lxc-bootstrap index b5e18796c..ffe092945 100755 --- a/installer/lxc-bootstrap +++ b/installer/lxc-bootstrap @@ -21,6 +21,11 @@ lxc-destroy -n airtime-install echo "...Done" set -e +### +# ! NOTE: If you run into errors resolving the archives when running apt-get update, +# clear your /var/cache/lxc directory and retry. +### + echo -e "\n * Creating ${name} with dist ${dist} and release ${release}..." lxc-create -t ${dist} -n ${name} -- --release ${release} echo "...Done"