Ignore:
Timestamp:
Aug 3, 2008, 1:19:41 AM (16 years ago)
Author:
price
Message:

finish configuration of sipb-xen-database; add network config to master.yaml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/client/etc/xen/sipb-database

    r829 r842  
    11# -*- mode: python; -*-
    22from invirt.database import models, connect
     3from invirt.config import structs as config
    34import re
    45import tempfile
     
    5556    n = machine.nics[0]
    5657    extra = 'ro noresume'
    57     extra += ' ip=%s::18.181.0.1:255.255.0.0:%s:eth0:off' % (n.ip, machine.name)
     58    extra += (' ip=%s::%s:%s:%s:eth0:off'
     59         % (n.ip, config.network.gateway, config.network.netmask, machine.name))
    5860    extra += ' mirror=%s dist=%s' % (mirror, dist)
    5961    extra += ' imagesize=%s' % imagesize
Note: See TracChangeset for help on using the changeset viewer.