mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 6546: support ubuntu 10.04 PV kernel,
for ext3 requirement, we can file a seperate bug for it, the solution should be install ext4 module in xenserver
status 6546: resolved fixed
This commit is contained in:
parent
44e260c55f
commit
cc6b43d58d
@ -155,6 +155,7 @@ public class CitrixHelper {
|
||||
_xenServerGuestOsMap.put("Windows Vista (32-bit)", "Windows Vista (32-bit)");
|
||||
_xenServerGuestOsMap.put("Windows XP SP2 (32-bit)", "Windows XP SP2 (32-bit)");
|
||||
_xenServerGuestOsMap.put("Windows XP SP3 (32-bit)", "Windows XP SP3 (32-bit)");
|
||||
_xenServerGuestOsMap.put("Other install media", "Other install media");
|
||||
}
|
||||
|
||||
public static String getXcpGuestOsType(String stdType) {
|
||||
|
||||
@ -7,12 +7,6 @@ usage() {
|
||||
|
||||
}
|
||||
|
||||
# avoid disk full
|
||||
mv /etc/cron.daily/logrotate /etc/cron.hourly 2>&1
|
||||
|
||||
# more aio thread
|
||||
echo 1048576 >/proc/sys/fs/aio-max-nr
|
||||
|
||||
#set iptables
|
||||
iptables -D RH-Firewall-1-INPUT -p tcp -m tcp --dport 5900:6099 -j ACCEPT 2>&1
|
||||
iptables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 5900:6099 -j ACCEPT 2>&1
|
||||
@ -26,7 +20,6 @@ sed -i 's/127\.0\.0\.1/0\.0\.0\.0/' /opt/xensource/libexec/qemu-dm-wrapper 2>&1
|
||||
# disable the default link local on xenserver
|
||||
sed -i /NOZEROCONF/d /etc/sysconfig/network
|
||||
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
|
||||
>/opt/xensource/bin/heartbeat
|
||||
|
||||
echo "success"
|
||||
|
||||
|
||||
@ -81,6 +81,8 @@ INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (57,
|
||||
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (58, 6, 'Windows XP SP3 (32-bit)', 'Windows XP SP3 (32-bit)');
|
||||
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (59, 7, 'Other install media', 'Ubuntu');
|
||||
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (60, 7, 'Other install media', 'Other');
|
||||
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (61, 2, 'Ubuntu 10.04 (64-bit)', 'Ubuntu 10.04 (64-bit)');
|
||||
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (62, 2, 'Ubuntu 10.04 (32-bit)', 'Ubuntu 10.04 (32-bit)');
|
||||
|
||||
-- temporarily added for vmware, will be moved when vmware support is fully in-place
|
||||
INSERT INTO `cloud`.`host_master`(`type`, `service_address`, `admin`, `password`) VALUES('VSphere', '192.168.90.238', 'Administrator', 'Suite219');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user