Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2010 21:47:03 -0700
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Josh Paetzel <jpaetzel@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: txt-sysinstall scrapped
Message-ID:  <AANLkTi=62rRhZsN4wUi6p_yokSxG0tkjUHK7gosLtTRZ@mail.gmail.com>
In-Reply-To: <201011052316.27839.jpaetzel@freebsd.org>
References:  <201011052316.27839.jpaetzel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 5, 2010 at 9:16 PM, Josh Paetzel <jpaetzel@freebsd.org> wrote:
> It's been incredibly busy for us in iXsystems land, with a lot of irons i=
n the
> fire.
>
> One of the many things we've been working on is a new installer. =A0Sever=
al
> months ago pc-sysinstall was imported into HEAD from the PC-BSD project.
>
> pc-sysinstall is a fine tool, and very useful as the backend for doing
> scripted installs. =A0If you're using scripted sysinstall I recommend you=
 check
> it out, it's a lot easier to use and configure than sysinstall, the
> documentation is much better, and reasonable requests for functionality c=
an
> and will be brought in.
>
> This is all fine and good, but without a front end to generate the config
> files pc-sysinstall needs it's not much use to an end user for doing inst=
alls.
> We (and by we I mean the forces at iXsystems) have been working on txt-
> sysinstall, which is a front end for pc-sysinstall using curses and dialo=
g to
> generate a pc-sysinstall config file from user input. =A0What we've encou=
ntered
> is that doing disk configuration in dialog isn't possible, and we started=
 down
> the road of using curses....but we already have a curses and dialog based
> installer, and wouldn't it be neat if we could use the disk configuration=
 tool
> we are writing for FreeNAS, too bad it's a web app.....
>
> But if the installer just launched a web server.....
>
> Ok, wait a minute, that couldn't work...how would you configure networkin=
g?
> Oh wait, that's already solved in FreeNAS, before you access the system y=
ou
> use a console/CLI app to configure the network. =A0Ok, but people do inst=
alls
> over serial ports....oh wait, you could run lynx from the console too...
>
> We quickly realized that the objections we could come up with were easily
> overcome, and the more we talked to people here at MeetBSD the more we
> realized it was a viable (and good) idea. =A0People quickly came up with
> improvements.
>
> This gets us the best of both worlds. =A0Want a super fancy GUI installer=
, just
> hit the box with firefox or whatever from a full desktop, want a text
> interface that's simple, need low bandwidth, running over a serial port, =
use
> the embedded lynx browser. =A0Installing in a remote vm/cloud, just confi=
gure
> the ip and hit it with a browser (yes, we're dreaming up ways to do it ov=
er
> ssl and such)
>
> I'll do a better write-up very soon, I'm pretty tired now and have a long
> weekend looming, but just wanted to get the word out.
>
> Just to give credit where credit is due, this all started with Warner Los=
h
> saying, "Can you listen to a crazy idea I had?" =A0 It didn't take long t=
o
> realize that it wasn't crazy, it was a stroke of genius.
>
> Secondary props go to Philip Paeps and Kris Moore for implementation deta=
ils,
> Matt Olander for recognizing the benefits and approving the change in foc=
us,
> John Hixson for the priceless look on his face when he realized we were
> serious about changing (He's done the bulk of the work on txt-sysinstall)=
 the
> random NetBSD user here at MeetBSD (sorry I don't know his name) who said=
 it
> was a horrible idea because it would "bloat the installer way too much" (=
I'm
> still laughing at that, he was saying something about floppies too, I gue=
ss
> we're locking out people using 386's or something.) and quite a few other
> people who are too countless to mention but offered random advice or
> encouragement.

    Just to add to that (because I do find it a novel idea), 1) how
are you going to properly prevent man in the middle attacks (SSL, TLS,
etc?), and 2) what webserver would you use?
    I bring up the former item because I wouldn't want my data going
unencrypted across any wire, and what BSD compatible web servers did
you guys have in store and who would maintain the server, and what
kinds of vulnerabilities would you be introducing by adding a service
which would be enabled by default at runtime?
Thanks!
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=62rRhZsN4wUi6p_yokSxG0tkjUHK7gosLtTRZ>