Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update freebsd versions #44

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chpatton013
Copy link

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant