Skip to content

Instantly share code, notes, and snippets.

@spy86
Created February 20, 2022 18:01
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 spy86/b1da86503648c472407c9f7035bb3d9d to your computer and use it in GitHub Desktop.
Save spy86/b1da86503648c472407c9f7035bb3d9d to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.box = "mmichal/centos7"
config.vm.box_version = "1.1.20210417"
config.vm.provision "shell" do |sh|
timezone = ENV['TZ'] ? ENV['TZ'] : "UTC"
sh.inline = "timedatectl set-timezone $1"
sh.args = timezone
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment