Last change
on this file since 1876 was
1452,
checked in by broder, 16 years ago
|
Generate config files for sysvms in invirt-xen-config
|
File size:
502 bytes
|
Rev | Line | |
---|
[1452] | 1 | <% |
---|
| 2 | from invirt.config import structs as cfg |
---|
| 3 | %> |
---|
| 4 | import os |
---|
| 5 | |
---|
| 6 | release = os.uname()[2] |
---|
| 7 | kernel = '/boot/vmlinuz-%s' % release |
---|
| 8 | ramdisk = '/boot/initrd.img-%s' % release |
---|
| 9 | memory = '1024' |
---|
| 10 | |
---|
| 11 | disk = ['phy:xenvg/s_master_hda,hda,w', |
---|
| 12 | 'phy:xenvg/s_master_hdb,hdb,w'] |
---|
| 13 | |
---|
| 14 | name = 's_master' |
---|
| 15 | |
---|
| 16 | vif = [ 'ip=${cfg.db.ip},mac=00:16:3E:5F:C1:D4' ] |
---|
| 17 | |
---|
| 18 | on_poweroff = 'destroy' |
---|
| 19 | on_reboot = 'restart' |
---|
| 20 | on_crash = 'restart' |
---|
| 21 | |
---|
| 22 | root = '/dev/hda1 ro' |
---|
| 23 | extra = '2 console=xvc0' |
---|
Note: See
TracBrowser
for help on using the repository browser.