Last change
on this file since 1479 was
1452,
checked in by broder, 16 years ago
|
Generate config files for sysvms in invirt-xen-config
|
File size:
456 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 = '256' |
---|
| 10 | |
---|
| 11 | disk = ['phy:xenvg/s_console_hda,hda,w'] |
---|
| 12 | |
---|
| 13 | name = 's_console' |
---|
| 14 | |
---|
| 15 | vif = [ 'ip=${cfg.console.ip},mac=00:16:3E:7E:E4:DE' ] |
---|
| 16 | |
---|
| 17 | on_poweroff = 'destroy' |
---|
| 18 | on_reboot = 'restart' |
---|
| 19 | on_crash = 'restart' |
---|
| 20 | |
---|
| 21 | root = '/dev/hda1 ro' |
---|
| 22 | extra = '2 console=xvc0' |
---|
Note: See
TracBrowser
for help on using the repository browser.