All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.net.causal.maven.plugins.boxdb.db.sqlserver.Vagrantfile Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "msabramo/mssqlserver2014express"

  config.vm.define ENV['CONTAINERNAME'] do |t|
  end

  config.vm.provider "virtualbox" do |vb|
    vb.name = ENV['CONTAINERNAME']

    # Display the VirtualBox GUI when booting the machine
    vb.gui = false

    # Customize the amount of memory on the VM:
    # vb.memory = "1024"
  end

  # Configure vagrant DB user to be allowed to create databases, etc.
  config.vm.provision "initdb", type: "shell", inline: <<-SHELL
    $app = "c:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\SQLCMD.EXE"
    & $app -H localhost -b -e -i c:\\vagrant\\initdb.sql
    exit $LASTEXITCODE
  SHELL
end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy