mirror of https://github.com/apache/cloudstack.git
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
This commit is contained in:
parent
4e7da0001d
commit
8652e5f87e
|
|
@ -284,7 +284,7 @@ fi
|
|||
|
||||
%pre management
|
||||
id cloud > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user" \
|
||||
-r -s /bin/sh -d %{_localstatedir}/cloud/management cloud|| true
|
||||
-r -s /bin/sh -d %{_localstatedir}/cloudstack/management cloud|| true
|
||||
|
||||
# set max file descriptors for cloud user to 4096
|
||||
sed -i /"cloud hard nofile"/d /etc/security/limits.conf
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ class cloudManagementConfig(serviceCfgBase):
|
|||
bash("iptables -A PREROUTING -t nat -p tcp --dport 443 -j REDIRECT --to-port 8250 ")
|
||||
|
||||
#generate keystore
|
||||
keyPath = "/var/lib/cloud/management/web.keystore"
|
||||
keyPath = "/var/cloudstack/management/web.keystore"
|
||||
if not os.path.exists(keyPath):
|
||||
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)
|
||||
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ public enum Config {
|
|||
MigrateWait("Advanced", AgentManager.class, Integer.class, "migratewait", "3600", "Time (in seconds) to wait for VM migrate finish", null),
|
||||
Workers("Advanced", AgentManager.class, Integer.class, "workers", "5", "Number of worker threads.", null),
|
||||
HAWorkers("Advanced", AgentManager.class, Integer.class, "ha.workers", "5", "Number of ha worker threads.", null),
|
||||
MountParent("Advanced", ManagementServer.class, String.class, "mount.parent", "/var/lib/cloud/management/mnt", "The mount point on the Management Server for Secondary Storage.", null),
|
||||
MountParent("Advanced", ManagementServer.class, String.class, "mount.parent", "/var/cloudstack/mnt", "The mount point on the Management Server for Secondary Storage.", null),
|
||||
// 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),
|
||||
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),
|
||||
SystemVMAutoReserveCapacity("Advanced", ManagementServer.class, Boolean.class, "system.vm.auto.reserve.capacity", "true", "Indicates whether or not to automatically reserver system VM standby capacity.", null),
|
||||
|
|
|
|||
|
|
@ -446,7 +446,7 @@ under the License.
|
|||
<!--
|
||||
<configuration>
|
||||
<name>mount.parent</name>
|
||||
<value>/var/lib/cloud/mnt</value>
|
||||
<value>/var/cloudstack/mnt</value>
|
||||
</configuration>
|
||||
-->
|
||||
</configurationEntries>
|
||||
|
|
|
|||
Loading…
Reference in New Issue