Re: Allow disks to be specifid by duid in install.sub

2018-06-03 Thread kwesterback
> On Jun 2, 2018, at 3:27 PM, Robert Peichaer wrote: > >> On Fri, May 18, 2018 at 12:14:36PM +0200, Theo Buehler wrote: >>> On Thu, May 17, 2018 at 06:42:15PM -0600, Aaron Bieber wrote: On Thu, May 17, 2018 at 06:37:56PM -0600, Aaron Bieber wrote: > On Fri, Mar 02, 2018 at 07:32:04AM

Re: Allow disks to be specifid by duid in install.sub

2018-06-02 Thread Robert Peichaer
On Fri, May 18, 2018 at 12:14:36PM +0200, Theo Buehler wrote: > On Thu, May 17, 2018 at 06:42:15PM -0600, Aaron Bieber wrote: > > On Thu, May 17, 2018 at 06:37:56PM -0600, Aaron Bieber wrote: > > > On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > > > > Hi, > > > > > > > > Currently

Re: Allow disks to be specifid by duid in install.sub

2018-05-18 Thread Theo Buehler
On Thu, May 17, 2018 at 06:42:15PM -0600, Aaron Bieber wrote: > On Thu, May 17, 2018 at 06:37:56PM -0600, Aaron Bieber wrote: > > On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > > > Hi, > > > > > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > > > "Whic

Re: Allow disks to be specifid by duid in install.sub

2018-05-17 Thread Aaron Bieber
On Thu, May 17, 2018 at 06:37:56PM -0600, Aaron Bieber wrote: > On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > > Hi, > > > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > > "Which disk is the root disk?" prompt. This is great for humans, but > > things

Re: Allow disks to be specifid by duid in install.sub

2018-05-17 Thread Aaron Bieber
On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > Hi, > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > "Which disk is the root disk?" prompt. This is great for humans, but > things get tricky when doing an autoinstall upgrade on systems where > connected

Re: Allow disks to be specifid by duid in install.sub

2018-05-16 Thread Klemens Nanni
I like the idea but haven't run-tested it yet. Some comments inline. On Fri, Mar 02, 2018 at 05:04:49PM -0700, Aaron Bieber wrote: > +# Return disk devices along with their uids. > +scan_disks() { > + local IFS=, _disks=$(sysctl -n hw.disknames) > + > + bsort $_disks > +} You can inline th

Re: Allow disks to be specifid by duid in install.sub

2018-03-02 Thread Aaron Bieber
On Fri, Mar 02, 2018 at 03:21:00PM -0700, Aaron Bieber wrote: > On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > > Hi, > > > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > > "Which disk is the root disk?" prompt. This is great for humans, but > > things

Re: Allow disks to be specifid by duid in install.sub

2018-03-02 Thread Aaron Bieber
On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > Hi, > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > "Which disk is the root disk?" prompt. This is great for humans, but > things get tricky when doing an autoinstall upgrade on systems where > connected

Allow disks to be specifid by duid in install.sub

2018-03-02 Thread Aaron Bieber
Hi, Currently disks can only be entered in the [sw]d[0-9][0-9] format at the "Which disk is the root disk?" prompt. This is great for humans, but things get tricky when doing an autoinstall upgrade on systems where connected disks change frequently. This diff lets you put the DUID in the response