# -*- mode: python; -*-
from invirt.database import models, connect
+from invirt.config import structs as config
import re
import tempfile
from subprocess import call
raise RuntimeError('You must have a nic to autoinstall')
n = machine.nics[0]
extra = 'ro noresume'
- extra += ' ip=%s::18.181.0.1:255.255.0.0:%s:eth0:off' % (n.ip, machine.name)
+ extra += (' ip=%s::%s:%s:%s:eth0:off'
+ % (n.ip, config.network.gateway, config.network.netmask, machine.name))
extra += ' mirror=%s dist=%s' % (mirror, dist)
extra += ' imagesize=%s' % imagesize
if 'noinstall' in locals():
+sipb-xen-database (10.17) unstable; urgency=low
+
+ * pull IP gateway, network from config
+ * configurabilization complete!
+
+ -- Greg Price <price@mit.edu> Sun, 3 Aug 2008 01:16:53 -0400
+
sipb-xen-database (10.16) unstable; urgency=low
in sipb-xen-database-tables: