[Bug 241919] bsdinstall jail /path/to/jail creates 12.0-RELEASE jail instead of 12.1-RELEASE jail

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Oct 2021 10:41:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241919

Marko Cupać <marko.cupac@mimar.rs> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|New                         |Closed

--- Comment #2 from Marko Cupać <marko.cupac@mimar.rs> ---
(In reply to Christoph Schönweiler from comment #1)

Hi,

I am working around this by creating subfolders under /usr/freebsd-dist:
- /usr/freebsd-dist/12_2:x86:64
- /usr/freebsd-dist/13_0:x86:64

...and creating .env files similar to:

# jailhost.example.org:/root/bsdinstall-12_2:x86:64.env
setenv BSDINSTALL_DISTSITE
"https://download.freebsd.org/ftp/releases/amd64/amd64/12.2-RELEASE/"
setenv BSDINSTALL_DISTDIR "/usr/freebsd-dist/12_2:x86.64/"

# jailhost.example.org:/root/bsdinstall-13_0:x86:64.env
setenv BSDINSTALL_DISTSITE
"https://download.freebsd.org/ftp/releases/amd64/amd64/13.0-RELEASE/"
setenv BSDINSTALL_DISTDIR "/usr/freebsd-dist/13_0:x86.64/"

Then I source them with `source /path/to/appropriate.env` before running
bsdinstall.

As far as I am concerned this solves my problem so I'm closing this PR.

-- 
You are receiving this mail because:
You are the assignee for the bug.