Skip to content

Commit cc6b43d

Browse files
committed
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
1 parent 44e260c commit cc6b43d

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

‎core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ public class CitrixHelper {
155155
_xenServerGuestOsMap.put("Windows Vista (32-bit)", "Windows Vista (32-bit)");
156156
_xenServerGuestOsMap.put("Windows XP SP2 (32-bit)", "Windows XP SP2 (32-bit)");
157157
_xenServerGuestOsMap.put("Windows XP SP3 (32-bit)", "Windows XP SP3 (32-bit)");
158+
_xenServerGuestOsMap.put("Other install media", "Other install media");
158159
}
159160

160161
public static String getXcpGuestOsType(String stdType) {

‎scripts/vm/hypervisor/xenserver/setupxenserver.sh‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ usage() {
77

88
}
99

10-
# avoid disk full
11-
mv /etc/cron.daily/logrotate /etc/cron.hourly 2>&1
12-
13-
# more aio thread
14-
echo 1048576 >/proc/sys/fs/aio-max-nr
15-
1610
#set iptables
1711
iptables -D RH-Firewall-1-INPUT -p tcp -m tcp --dport 5900:6099 -j ACCEPT 2>&1
1812
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
2620
# disable the default link local on xenserver
2721
sed -i /NOZEROCONF/d /etc/sysconfig/network
2822
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
29-
>/opt/xensource/bin/heartbeat
3023

3124
echo "success"
3225

‎setup/db/templates.xenserver.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (57,
8181
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (58, 6, 'Windows XP SP3 (32-bit)', 'Windows XP SP3 (32-bit)');
8282
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (59, 7, 'Other install media', 'Ubuntu');
8383
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (60, 7, 'Other install media', 'Other');
84+
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (61, 2, 'Ubuntu 10.04 (64-bit)', 'Ubuntu 10.04 (64-bit)');
85+
INSERT INTO `cloud`.`guest_os` (id, category_id, name, display_name) VALUES (62, 2, 'Ubuntu 10.04 (32-bit)', 'Ubuntu 10.04 (32-bit)');
8486

8587
-- temporarily added for vmware, will be moved when vmware support is fully in-place
8688
INSERT INTO `cloud`.`host_master`(`type`, `service_address`, `admin`, `password`) VALUES('VSphere', '192.168.90.238', 'Administrator', 'Suite219');

0 commit comments

Comments
 (0)