Changeset 179
- Timestamp:
- Aug 13, 2010, 6:06:26 PM (14 years ago)
- Location:
- drbl-virt
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_PXE_VM_create.sh
r178 r179 24 24 VM_final_IP="" 25 25 get_VM_IP_range 26 # == Get VM IP prefix hostname == # 26 27 27 28 -
drbl-virt/sbin/functions_drbl_virt
r178 r179 146 146 147 147 148 function debain-lenny_xen_patch(){ 149 echo xen.independent_wallclock=1 >> /etc/sysctl.conf 150 echo loop max_loop=255 >> /etc/modules 151 echo xenblktap >> /etc/modules 152 ln -s /usr/lib/$/bin/tapdisk /usr/sbin 153 } 154 155 148 156 function get_Host_IP_range(){ 149 157 cat /etc/drbl/IP_HOST_TABLE | sed "${Host_first_Line}p" -
drbl-virt/sbin/xen_install.sh
r178 r179 49 49 50 50 if [ $hypervisior == "Xen" ]; then 51 aptitude install xen-linux-system-2.6.26-2-xen-${Linux_bit} xen-tools bridge-utils 51 echo "" 52 echo "Install Xen Hypervisior" 53 aptitude install xen-linux-system-2.6.26-2-xen-${Linux_bit} xen-tools bridge-utils python-xml 54 cp $Work_Home/conf/debian-lenny_xend-config.sxp /etc/xen/xend-config.sxp 52 55 if [ $1 == "stop" ]; then 56 echo "" 57 echo "DRBL server default will not enabled xend." 58 echo "DRBL client default will enabled xend." 53 59 update-rc.d xend remove 54 60 update-rc.d xendomains remove
Note: See TracChangeset
for help on using the changeset viewer.