Revision 6cee02d4

b/README
262 262
- Gentoo
263 263
- OpenSUSE
264 264

  
265
If you need to set a static ip for instances, you can do that by creating
266
several files in a manner described below.
267

  
268
Subnets:
269

  
270
Create a file in ``/etc/ganeti/instance-image/networks/subnets`` that has a
271
useful name such as ``vlan42``. This file will describe subnet routing
272
information such as the netmask and gateway. The following is an example:
273

  
274
  NETMASK=255.255.255.0
275
  GATEWAY=192.168.1.1
276

  
277
Instance:
278

  
279
Create a file in ``/etc/ganeti/instance-image/networks/instances`` and name it
280
the FQDN of the instance. The file will describe the IP address for the instance
281
and which subnet it resides on. For example, we could create a file named
282
``myinstance.osuosl.org`` and have the following in it:
283

  
284
  ADDRESS=192.168.1.100
285
  SUBNET=vlan42
286

  
265 287
SSH
266 288
~~~
267 289

  

Also available in: Unified diff