mirror of https://github.com/apache/cloudstack.git
bug 8459: acpiphp and pci_hotplug modules need to be auto loaded in domr
status 8459: resolved fixed
This commit is contained in:
parent
c42b928b7d
commit
9854db7dcd
|
|
@ -69,6 +69,13 @@ dhcpsrvr_svcs() {
|
|||
echo "cloud nfs-common haproxy portmap" > /var/cache/cloud/disabled_svcs
|
||||
}
|
||||
|
||||
enable_pcihotplug() {
|
||||
sed -i -e "/acpiphp/d" /etc/modules
|
||||
sed -i -e "/pci_hotplug/d" /etc/modules
|
||||
echo acpiphp >> /etc/modules
|
||||
echo pci_hotplug >> /etc/modules
|
||||
}
|
||||
|
||||
CMDLINE=$(cat /var/cache/cloud/cmdline)
|
||||
TYPE="router"
|
||||
PATCH_MOUNT=$1
|
||||
|
|
@ -101,6 +108,8 @@ fi
|
|||
#empty known hosts
|
||||
echo "" > /root/.ssh/known_hosts
|
||||
|
||||
enable_pcihotplug
|
||||
|
||||
if [ "$TYPE" == "router" ]
|
||||
then
|
||||
routing_svcs
|
||||
|
|
|
|||
Loading…
Reference in New Issue