Skip to content

Instantly share code, notes, and snippets.

@thomd
Created July 27, 2021 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomd/ef2ced527526217b68641e994d5aa1ab to your computer and use it in GitHub Desktop.
Save thomd/ef2ced527526217b68641e994d5aa1ab to your computer and use it in GitHub Desktop.
Create openSUSE Leap 15.2 using Vagrant #vagrant
# set up the default terminal
ENV["TERM"]="linux"
Vagrant.configure("2") do |config|
# set the image for the vagrant box
config.vm.box = "opensuse/Leap-15.2.x86_64"
## Set the image version
# config.vm.box_version = "15.2.31.212"
# set the static IP for the vagrant box
config.vm.network "private_network", ip: "192.168.50.4"
# configure the parameters for VirtualBox provider
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = 4
vb.customize ["modifyvm", :id, "--ioapic", "on"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment