Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

Update freebsd versions#44

Open
chpatton013 wants to merge 4 commits into
boxcutter:mainfrom
chpatton013:update-freebsd-versions
Open

Update freebsd versions#44
chpatton013 wants to merge 4 commits into
boxcutter:mainfrom
chpatton013:update-freebsd-versions

Conversation

@chpatton013

Copy link
Copy Markdown

NOTE: This PR is currently based off of #43, and will be rebased to remove that commit once it merges.

Update the FreeBSD 11.1 template to 11.4 and add templates for 12.2 and 13.0.

I tested by building all three of these images using the virtualbox-iso builder and booting into each of them, but since there was nothing exotic in the templates I didn't bother building with vmware or parallels.

114:

$ packer build -only=virtualbox-iso -var-file=freebsd114.json freebsd.json
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: box/virtualbox/freebsd114-0.1.0.box
$ vagrant box add testing/freebsd114 box/virtualbox/freebsd114-0.1.0.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'testing/freebsd114' (v0) for provider:
    box: Unpacking necessary files from: file:///Users/cpatton/boxcutter-bsd/box/virtualbox/freebsd114-0.1.0.box
==> box: Successfully added box 'testing/freebsd114' (v0) for 'virtualbox'!
$ cat Vagrantfile
Vagrant.configure("2") do |config|
  config.vm.box = "testing/freebsd114"
end
$ vagrant up
...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
...
$ vagrant ssh -c 'uname -mrs'
FreeBSD 11.4-RELEASE-p9 amd64
Connection to 127.0.0.1 closed.

122:

$ packer build -only=virtualbox-iso -var-file=freebsd122.json freebsd.json
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: box/virtualbox/freebsd122-0.1.0.box
$ vagrant box add testing/freebsd122 box/virtualbox/freebsd122-0.1.0.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'testing/freebsd122' (v0) for provider:
    box: Unpacking necessary files from: file:///Users/cpatton/boxcutter-bsd/box/virtualbox/freebsd122-0.1.0.box
==> box: Successfully added box 'testing/freebsd122' (v0) for 'virtualbox'!
$ cat Vagrantfile
Vagrant.configure("2") do |config|
  config.vm.box = "testing/freebsd122"
end
$ vagrant up
...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
...
$ vagrant ssh -c 'uname -mrs'
FreeBSD 12.2-RELEASE-p7 amd64
Connection to 127.0.0.1 closed.

130:

$ packer build -only=virtualbox-iso -var-file=freebsd130.json freebsd.json
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: box/virtualbox/freebsd130-0.1.0.box
$ vagrant box add testing/freebsd130 box/virtualbox/freebsd130-0.1.0.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'testing/freebsd130' (v0) for provider:
    box: Unpacking necessary files from: file:///Users/cpatton/boxcutter-bsd/box/virtualbox/freebsd130-0.1.0.box
==> box: Successfully added box 'testing/freebsd130' (v0) for 'virtualbox'!
$ cat Vagrantfile
Vagrant.configure("2") do |config|
  config.vm.box = "testing/freebsd130"
end
$ vagrant up
...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
...
$ vagrant ssh -c 'uname -mrs'
FreeBSD 13.0-RELEASE-p3 amd64
Connection to 127.0.0.1 closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant