Difference between revisions of "Vagrantfile"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 +
 +
* [[Vagrantfile example]]
  
  
Line 9: Line 11:
 
  end
 
  end
  
 +
Including a [[hostname]]
 
  Vagrant.configure("2") do |config|
 
  Vagrant.configure("2") do |config|
 
   config.vm.box = "[[fedora/32-cloud-base]]"
 
   config.vm.box = "[[fedora/32-cloud-base]]"
Line 19: Line 22:
 
* <code>[[vagrant up --provider=libvirt]]</code>
 
* <code>[[vagrant up --provider=libvirt]]</code>
  
 
* [[Vagrantfile example]]
 
  
 
== See also ==
 
== See also ==

Revision as of 11:34, 11 April 2021


Vagrant.configure("2") do |config|
 config.vm.box = "bento/fedora-32"
end
Vagrant.configure("2") do |config|
  config.vm.box = "fedora/32-cloud-base"
end

Including a hostname

Vagrant.configure("2") do |config|
  config.vm.box = "fedora/32-cloud-base"
  config.vm.define "YOUR_HOSTNAME_MACHINE"
end




See also

Advertising: