How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "ookk3388/fedora28-server"
  config.vm.box_version = "0.1.0"
end
vagrant init ookk3388/fedora28-server \
  --box-version 0.1.0
vagrant up

This version was created about 4 years ago.

Vagrant.configure("2") do |config| config.vm.box= "ookk3388/fedora28-server" config.vm.box_check_update = false config.vm.define "g" do |g| g.vm.box = "ookk3388/fedora28-server" g.vm.box_version = "0.1.0" g.vm.network "public_network" ,:bridge => 'en0: Wi-Fi (AirPort)' ,ip: "192.168.3.44" g.vm.network :private_network, ip: "192.168.33.44" g.vm.synced_folder ".", "/vagrant/fedora28-server"

g.vm.provision "shell", path: "./src/update.sh"

g.vm.provision "file", source: "./src/upgrade.sh", destination: "/tmp/source/upgrade.sh"

g.vm.provision "shell", inline: "/bin/sh /tmp/source/upgrade.sh"



g.vm.provider "virtualbox" do |vb|
  vb.customize ["modifyvm", :id, "--memory", "2048"]
  vb.customize ["modifyvm", :id, "--vram", "256"]
  vb.customize ["modifyvm", :id, "--cpus", "2"]
  vb.customize ["modifyvm", :id, "--name", "长毛是狗-fedora-servder"]

  vb.customize ["modifyvm", :id, "--groups", "/长毛是狗/fedora/server"]
  vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
  #桥联
  vb.customize ["modifyvm", :id, "--nic2","hostif"]
  #内部网
  vb.customize ["modifyvm", :id, "--nic3","intnet"]
  #usb
  vb.customize ["modifyvm", :id, "--usb","on"]

  #  vb.customize ["modifyvm", :id, "--accelerate3d", "on"]



end

end

end

2 providers for this version.
  • virtualbox Hosted by Vagrant Cloud (957 MB)

  • vagrant virtualbox Hosted by Vagrant Cloud (793 MB)