Skip to content

Commit d4d73bf

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 <marcus@betterservers.com> 1360786749 -0700
1 parent cb2b0ef commit d4d73bf

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
@@ -283,7 +283,7 @@ fi
283283

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

288288
# set max file descriptors for cloud user to 4096
289289
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
@@ -179,7 +179,7 @@ public enum Config {
179179
MigrateWait("Advanced", AgentManager.class, Integer.class, "migratewait", "3600", "Time (in seconds) to wait for VM migrate finish", null),
180180
Workers("Advanced", AgentManager.class, Integer.class, "workers", "5", "Number of worker threads.", null),
181181
HAWorkers("Advanced", AgentManager.class, Integer.class, "ha.workers", "5", "Number of ha worker threads.", null),
182-
MountParent("Advanced", ManagementServer.class, String.class, "mount.parent", "/var/lib/cloud/management/mnt", "The mount point on the Management Server for Secondary Storage.", null),
182+
MountParent("Advanced", ManagementServer.class, String.class, "mount.parent", "/var/cloudstack/mnt", "The mount point on the Management Server for Secondary Storage.", null),
183183
// 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),
184184
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),
185185
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)