xentaur

diff xendomain.py @ 36:7bf7abe92123

domain start mini fixes
author nata
date Tue Sep 25 22:47:27 2007 +0300 (2007-09-25)
parents 244f1602496a
children 10444acb35f4
line diff
     1.1 --- a/xendomain.py	Tue Sep 25 22:16:24 2007 +0300
     1.2 +++ b/xendomain.py	Tue Sep 25 22:47:27 2007 +0300
     1.3 @@ -12,7 +12,10 @@
     1.4      network=sys.modules['__main__'].network
     1.5      domain=sys.modules['__main__'].domain
     1.6  
     1.7 -#sys.path.append('/home/igor/xentaur')
     1.8 +import os
     1.9 +sys.path.append(os.environ['HOME']+"/xentaur")
    1.10 +os.environ['xendomain']=domain
    1.11 +
    1.12  #try:
    1.13  
    1.14  exec 'from %s import *' % (network)
    1.15 @@ -26,8 +29,8 @@
    1.16  
    1.17  pae=1
    1.18  if pae:
    1.19 -    kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
    1.20 -    ramdisk = "/boot/initrd.img-2.6.18-4-xen-686"
    1.21 +    kernel = "/boot/vmlinuz-2.6.18-5-xen-686"
    1.22 +    ramdisk = "/boot/initrd.img-2.6.18-5-xen-686"
    1.23  else:
    1.24      kernel = "/boot/vmlinuz-2.6.18-without-PAE-4-xen-686"
    1.25      ramdisk = "/boot/initrd.img-2.6.18-without-PAE-4-xen-686-domU"