That's a nice idea.  You'll still have to have a default location from
which to start -
which is the challenge of diskless systems :-)

If

On Fri, Feb 29, 2008 at 4:07 PM, Christopher Johnson <[EMAIL PROTECTED]> wrote:
> Thanks for the pointer to /etc/init.d/vyatta-ofr and /etc/default/vyatta.
>
> What I would likely do is have a config file that has the equivalent of a
> "#include" which tries a sequence of locations.
>
> /mnt/usb/config/config.boot, /mnt/flash/config/config.boot,
> /mnt/floppy/config/config.boot,/opt/vyatta/etc/config/config.boot
>
> By adding a simple "Done" or just having the config files overwrite each
> other in reasonable ways, we end up with a live CDROM that can boot on any
> machine yet find a configuration file.
>
> I'm actually going to have to look into a diskless version of Vyatta at some
> point.
>
> Thanks again for the pointers.
>
> Best, -Chris
>
>
>
> On Fri, Feb 29, 2008 at 6:33 PM, Justin Fletcher <[EMAIL PROTECTED]> wrote:
> > That's actually a harder problem - you can do it by changing where the
> system
> > looks for configuration on boot, install to disk and then modify the
> > files to change
> > what's mounted and where the system looks for the configuration, or build
> from
> > scratch and create your own LiveCD with the changes in it.
> >
> > In VC4, look in /etc/init.d/vyatta-ofr, /etc/default/vyatta, and
> > /etc/default/vyatta-cfg.
> >
> > If you make the changes that let the system find the configuration on
> > a flash drive,
> > be sure to submit them back to the hackers list (or should that be
> > forum??) for inclusion
> > for others as well :-)
> >
> > Best,
> > Justin
> >
> >
> >
> >
> > On Tue, Feb 26, 2008 at 9:23 PM, Christopher Johnson <[EMAIL PROTECTED]>
> wrote:
> > > Is there anyway, other than floppy disk, to have the OFR get a
> configuration
> > > file on boot from CDROM?  I'd love for it to be able to read from a USB
> > > thumb drive, load it from a TFTP site (use the standard boot methods to
> do
> > > so) or in anyway to get a configuration file into the system with out me
> > > being at the console.
> > >
> > > This is glendale VC4, Alpha 1, soon to be Alpha 2.
> > >
> > > Best,
> > > -Chris
> > > P.S. I did try load of an URL, and it died.
> > >
> > >
> > > _______________________________________________
> > >  Vyatta-users mailing list
> > >  Vyatta-users@mailman.vyatta.com
> > >  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
> > >
> > >
> > _______________________________________________
> > Vyatta-users mailing list
> > Vyatta-users@mailman.vyatta.com
> > http://mailman.vyatta.com/mailman/listinfo/vyatta-users
> >
>
>
> _______________________________________________
>  Vyatta-users mailing list
>  Vyatta-users@mailman.vyatta.com
>  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>
>
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to