mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7143: fix do_signature to account for change to install_cloud_scripts
The do_signature script required a lingering cloud-scripts.tar that was no longer there after the git export tarball fiddling magic was gone.
This commit is contained in:
parent
25bb682cd1
commit
d5a4a2521b
@ -47,14 +47,14 @@ function install_cloud_scripts() {
|
||||
chkconfig cloud off
|
||||
}
|
||||
|
||||
do_signature() {
|
||||
mkdir -p /var/cache/cloud/
|
||||
gzip -c /usr/share/cloud/cloud-scripts.tar > /usr/share/cloud/cloud-scripts.tgz
|
||||
function do_signature() {
|
||||
mkdir -p /var/cache/cloud/ /usr/share/cloud/
|
||||
(cd ./cloud_scripts/; tar -cvf - * | gzip > /usr/share/cloud/cloud-scripts.tgz)
|
||||
md5sum /usr/share/cloud/cloud-scripts.tgz | awk '{print $1}' > /var/cache/cloud/cloud-scripts-signature
|
||||
echo "Cloudstack Release $CLOUDSTACK_RELEASE $(date)" > /etc/cloudstack-release
|
||||
}
|
||||
|
||||
configure_services() {
|
||||
function configure_services() {
|
||||
mkdir -p /var/www/html
|
||||
mkdir -p /opt/cloud/bin
|
||||
mkdir -p /var/cache/cloud
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user