Newer
Older
nc-env / templates / template09-web-server-node / Vagrantfile
@pmarini pmarini on 13 Apr 2022 616 bytes initial commit
# -*- mode: ruby -*-
# vi: set ft=ruby :


Vagrant.configure("2") do |config|

  config.vm.box = "hibox/focal64"

  config.vm.box_check_update = false
  
  ## This is the latest box version as of 17/06/2021
  config.vm.box_version = "1.0.1619509541"

  config.vm.provider 'lxd' do |lxd|
    lxd.api_endpoint = 'https://127.0.0.1:8443'
    lxd.timeout = 10
    lxd.name = 'web.server-XX'
    # lxd.nesting = nil
    # lxd.privileged = nil
    # lxd.ephemeral = false
    # lxd.profiles = ['default']
    # lxd.environment = {}
    # lxd.config = {}
  end
  
  config.vm.provision :shell, path: "provision.sh" 
 
end