|
@ -1,6 +1,9 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Depends lxc-scripts installed |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## |
|
|
## |
|
|
## Install |
|
|
## Install |
|
|
## |
|
|
## |
|
@ -97,6 +100,18 @@ fi |
|
|
|
|
|
|
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
## |
|
|
|
|
|
## lxc-scripts |
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
|
|
[ -d "/opt/apps/lxc-scripts" ] || { |
|
|
|
|
|
echo "Error: required 'lxc-scripts' not installed." >&2 |
|
|
|
|
|
exit 1 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
apt-get install -y moreutils ## needed because ``ts`` is used in this script |
|
|
|
|
|
ln -sf /opt/apps/lxc-scripts/etc/cron.d/lxc-shorewall-repair /etc/cron.d/lxc-shorewall-repair |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## |
|
|
## |
|
|
## Logs |
|
|
## Logs |
|
|