Re: 7.2 miniroot pointed to /pub/OpenBSD/snapshots for sets

2022-10-20 Thread Stuart Henderson
On 2022/10/20 09:44, Heppler, J. Scott wrote:
> I was testing the full setup for a lightweight desktop I posted on
> https://daemonforums.org/showpost.php?p=67677&postcount=1
> 
> My downloaded miniroot:
> -rw-r--r--1 jsh   jsh  5832704 Oct 20 08:51 miniroot72.img
> 
> The system had previously been running snapshot, but I had selected
> Install(I) and whole disk GPT(G).  The whole disk should have been
> newly formatted.  /etc/installurl came up as my nearest mirror:
> mirrors.sonic.net which I had previously used for the snapshot install.
> 
> If it's working - sorry for the noise.

For an install (rather than an upgrade) it's not based on what you've
installed on the individual machine before; when install is done
the source URL is sent to ftpinstall.cgi which offers it back via
ftplist.cgi for further installs from the same IP address.

The mechanism for saving the full directory or not is in install.sub
around line 1850.



Re: 7.2 miniroot pointed to /pub/OpenBSD/snapshots for sets

2022-10-20 Thread Heppler, J. Scott

I was testing the full setup for a lightweight desktop I posted on
https://daemonforums.org/showpost.php?p=67677&postcount=1

My downloaded miniroot:
-rw-r--r--1 jsh   jsh  5832704 Oct 20 08:51 miniroot72.img

The system had previously been running snapshot, but I had selected
Install(I) and whole disk GPT(G).  The whole disk should have been
newly formatted.  /etc/installurl came up as my nearest mirror:
mirrors.sonic.net which I had previously used for the snapshot install.

If it's working - sorry for the noise.

On Oct 20, 2022: 17:32, Stuart Henderson wrote:

On 2022/10/20 09:05, Heppler, J. Scott wrote:

Using the miniroot img from https://cdn.openbsd.org/pub/OpenBSD/7.2, the
set retrival still points to snapshots.


You (or someone else using the same IP) must have done an install from a
full URL previously rather than picking a mirror from the list.

Check 'ftp -Vo- https://ftplist1.openbsd.org/cgi-bin/ftplist.cgi | head'



--
J. Scott Heppler

Penguin Innovations

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 



NOTICE: This e-mail message and any attachments may
contain legally privileged and confidential information intended
solely for the use of the intended recipients. If you are not an
intended recipient, you are hereby notified that you have
received this message in error and any review, dissemination,
distribution, copying, or other unauthorized use of this email
and any attachment is strictly prohibited. If you have received
this email in error, please notify the sender immediately and
delete the message and any attachments from your system.



Re: 7.2 miniroot pointed to /pub/OpenBSD/snapshots for sets

2022-10-20 Thread Stuart Henderson
On 2022/10/20 09:05, Heppler, J. Scott wrote:
> Using the miniroot img from https://cdn.openbsd.org/pub/OpenBSD/7.2, the
> set retrival still points to snapshots.

You (or someone else using the same IP) must have done an install from a
full URL previously rather than picking a mirror from the list.

Check 'ftp -Vo- https://ftplist1.openbsd.org/cgi-bin/ftplist.cgi | head'



Re: 7.2 miniroot pointed to /pub/OpenBSD/snapshots for sets

2022-10-20 Thread Klemens Nanni
On Thu, Oct 20, 2022 at 09:05:42AM -0700, Heppler, J. Scott wrote:
> Using the miniroot img from https://cdn.openbsd.org/pub/OpenBSD/7.2, the
> set retrival still points to snapshots.

Can't confirm, default install points at 7.2/ for me:

$ ftp https://cdn.openbsd.org/pub/OpenBSD/7.2/amd64/miniroot72.img
...

$ cksum miniroot72.img
4172576271 5832704 miniroot72.img

$ vmctl create -s5G 72.img
vmctl: raw imagefile created

$ doas vmctl start -c -Li1 -d miniroot72.img -d 72.img mr72
...
OpenBSD 7.2 (RAMDISK_CD) #725: Tue Sep 27 12:02:48 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
...
Welcome to the OpenBSD/amd64 7.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
...
Which network interface do you wish to configure? (or 'done') [vio0] 
IPv4 address for vio0? (or 'autoconf' or 'none') [autoconf] 
IPv6 address for vio0? (or 'autoconf' or 'none') [none] 
...
Location of sets? (disk http nfs or 'done') [http] 
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] 
HTTP Server? (hostname, list#, 'done' or '?') cdn.openbsd.org
Server directory? [pub/OpenBSD/7.2/amd64] 

Select sets by entering a set name, a file name pattern or 'all'. 
De-select
sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled 
'[X]'.
[X] bsd   [X] comp72.tgz[X] xbase72.tgz   [X] 
xserv72.tgz
[X] bsd.rd[X] man72.tgz [X] xshare72.tgz
[X] base72.tgz[X] game72.tgz[X] xfont72.tgz
Set name(s)? (or 'abort' or 'done') [done]



7.2 miniroot pointed to /pub/OpenBSD/snapshots for sets

2022-10-20 Thread Heppler, J. Scott

Using the miniroot img from https://cdn.openbsd.org/pub/OpenBSD/7.2, the
set retrival still points to snapshots.


--
J. Scott Heppler

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -