Skip to content

Commit 8652e5f

Browse files
author
Marcus Sorensen
committed
Summary: Fix hanging references to /var/lib/cloud, changed to /var/cloudstack
BUG-ID: CLOUDSTACK-1201 BUG-ID: CLOUDSTACK-1196 Signed-off-by: Marcus Sorensen <[email protected]> 1360786749 -0700
1 parent 4e7da00 commit 8652e5f

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

packaging/centos63/cloud.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ fi
284284

285285
%pre management
286286
id cloud > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user" \
287-
-r -s /bin/sh -d %{_localstatedir}/cloud/management cloud|| true
287+
-r -s /bin/sh -d %{_localstatedir}/cloudstack/management cloud|| true
288288

289289
# set max file descriptors for cloud user to 4096
290290
sed -i /"cloud hard nofile"/d /etc/security/limits.conf

packaging/centos63/package.sh

100644100755
File mode changed.

python/lib/cloudutils/serviceConfigServer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def checkHostName():
7373
bash("iptables -A PREROUTING -t nat -p tcp --dport 443 -j REDIRECT --to-port 8250 ")
7474

7575
#generate keystore
76-
keyPath = "/var/lib/cloud/management/web.keystore"
76+
keyPath = "/var/cloudstack/management/web.keystore"
7777
if not os.path.exists(keyPath):
7878
cmd = bash("keytool -genkey -keystore %s -storepass \"cloud.com\" -keypass \"cloud.com\" -validity 3650 -dname cn=\"Cloudstack User\",ou=\"mycloud.cloud.com\",o=\"mycloud.cloud.com\",c=\"Unknown\""%keyPath)
7979

server/src/com/cloud/configuration/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public enum Config {
180180
MigrateWait("Advanced", AgentManager.class, Integer.class, "migratewait", "3600", "Time (in seconds) to wait for VM migrate finish", null),
181181
Workers("Advanced", AgentManager.class, Integer.class, "workers", "5", "Number of worker threads.", null),
182182
HAWorkers("Advanced", AgentManager.class, Integer.class, "ha.workers", "5", "Number of ha worker threads.", null),
183-
MountParent("Advanced", ManagementServer.class, String.class, "mount.parent", "/var/lib/cloud/management/mnt", "The mount point on the Management Server for Secondary Storage.", null),
183+
MountParent("Advanced", ManagementServer.class, String.class, "mount.parent", "/var/cloudstack/mnt", "The mount point on the Management Server for Secondary Storage.", null),
184184
// UpgradeURL("Advanced", ManagementServer.class, String.class, "upgrade.url", "http://example.com:8080/client/agent/update.zip", "The upgrade URL is the URL of the management server that agents will connect to in order to automatically upgrade.", null),
185185
SystemVMUseLocalStorage("Advanced", ManagementServer.class, Boolean.class, "system.vm.use.local.storage", "false", "Indicates whether to use local storage pools or shared storage pools for system VMs.", null),
186186
SystemVMAutoReserveCapacity("Advanced", ManagementServer.class, Boolean.class, "system.vm.auto.reserve.capacity", "true", "Indicates whether or not to automatically reserver system VM standby capacity.", null),

setup/db/server-setup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ under the License.
446446
<!--
447447
<configuration>
448448
<name>mount.parent</name>
449-
<value>/var/lib/cloud/mnt</value>
449+
<value>/var/cloudstack/mnt</value>
450450
</configuration>
451451
-->
452452
</configurationEntries>

0 commit comments

Comments
 (0)