|
@ -103,6 +103,7 @@ apt-get install -y kal-shlib-charm </dev/null |
|
|
git pull -r && |
|
|
git pull -r && |
|
|
ln -sfn /opt/apps/lxc-scripts/bin/lxc-* /usr/local/sbin/ && |
|
|
ln -sfn /opt/apps/lxc-scripts/bin/lxc-* /usr/local/sbin/ && |
|
|
|
|
|
|
|
|
|
|
|
if [ -f /etc/default/lxc ]; then |
|
|
if [ -f /etc/default/lxc.pre-install ]; then |
|
|
if [ -f /etc/default/lxc.pre-install ]; then |
|
|
cp /etc/default/lxc.pre-install /etc/default/lxc |
|
|
cp /etc/default/lxc.pre-install /etc/default/lxc |
|
|
else |
|
|
else |
|
@ -116,6 +117,7 @@ apt-get install -y kal-shlib-charm </dev/null |
|
|
ln -sfn /opt/apps/lxc-scripts/usr/lib/lxc/templates/lxc-0k-ubuntu-cloud /usr/share/lxc/templates |
|
|
ln -sfn /opt/apps/lxc-scripts/usr/lib/lxc/templates/lxc-0k-ubuntu-cloud /usr/share/lxc/templates |
|
|
echo TEMPLATE_PATH=/usr/share/lxc/templates >> /etc/default/lxc |
|
|
echo TEMPLATE_PATH=/usr/share/lxc/templates >> /etc/default/lxc |
|
|
} |
|
|
} |
|
|
|
|
|
fi |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
## |
|
|
## |
|
|