Last change
on this file since 1452 was
1452,
checked in by broder, 16 years ago
|
Generate config files for sysvms in invirt-xen-config
|
File size:
453 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 = '512' |
---|
| 10 | |
---|
| 11 | disk = ['phy:xenvg/s_remote_hda,hda,w'] |
---|
| 12 | |
---|
| 13 | name = 's_remote' |
---|
| 14 | |
---|
| 15 | vif = [ 'ip=${cfg.remote.ip},mac=00:16:3E:7F:C2:55' ] |
---|
| 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.