Created
November 13, 2022 07:14
-
-
Save dodola/e901cc89ac24abd115741742835f5618 to your computer and use it in GitHub Desktop.
Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/jammy64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = 8192 | |
vb.cpus = 2 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用方法:
vagrant up
会自动创建好虚拟机vagrant ssh
进入虚拟机虚拟机配置是2核8g 上面的参数可以修改