X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C86DF8.9FB31090@onstor-exch02.onstor.net>; Tue, 12 Feb 2008 21:26:37 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: addroutes file question
Date: Tue, 12 Feb 2008 21:26:37 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E0849704A@onstor-exch02.onstor.net>
In-Reply-To: <20080212180050.5cde3388@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: addroutes file question
Thread-Index: Acht5EIXreMfTCC2Q6OtzsiqDzrdVwAFD2zQ
References: <20080212152012.2c824058@ripper.onstor.net><BB375AF679D4A34E9CA8DFA650E2B04E08496FDE@onstor-exch02.onstor.net> <20080212180050.5cde3388@ripper.onstor.net>
From: "Tim Gardner" <tim.gardner@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

You should change the interfaces file to look like the one checked into
rootfs or else the IP management code won't work.
The address and netmask line needs to be commented out.

-----Original Message-----
From: Andy Sharp=20
Sent: Tuesday, February 12, 2008 6:01 PM
To: Tim Gardner
Subject: Re: addroutes file question

On Tue, 12 Feb 2008 17:44:39 -0800 "Tim Gardner"
<tim.gardner@onstor.com> wrote:

> Should probably truncate the file and then write a=20
> #!/bin/sh
> line.

OK, I will just do this:

do_system("echo '#!/bin/sh' > /etc/network/if-up.d/addroutes");

> Is the expectation that an initial config will be run or can a user
> just fire up nfxsh and start configuring that way?

The system reboots, and first install will run then, since everything
important is toast.

> Does the interfaces file get reset?

Currently I am editing the IP addresses in the interfaces file,
changing them to 0.0.0.0

> -----Original Message-----
> From: Andy Sharp=20
> Sent: Tuesday, February 12, 2008 3:20 PM
> To: Tim Gardner
> Subject: addroutes file question
>=20
> Oy,
>=20
> Fixing up the _system config reset_ code ... what is my paradigm with
> that file?  Delete it?  Edit it and remove any routes?  Leave it
> alone?
>=20
> Thanks,
>=20
> a
>=20
