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

au.net.causal.maven.plugins.boxdb.db.sqlserver.Vagrantfile-logs 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.network "forwarded_port", guest: 1433, host: 1433, host_ip: "localhost", id: "tcp1433"
  config.vm.network "forwarded_port", guest: 3389, host: 3389, host_ip: "localhost", id: "tcp3389"
  config.vm.network "forwarded_port", guest: 5985, host: 55985, host_ip: "localhost", id: "winrm"
  config.vm.network "forwarded_port", guest: 5986, host: 55986, host_ip: "localhost", id: "winrm-ssl"
  config.vm.network "forwarded_port", guest: 22, host: 2222, host_ip: "localhost", id: "ssh"  
  config.vm.define ENV['CONTAINERNAME'] do |t|
  end
  
  config.vm.provider "virtualbox" do |vb|
    vb.name = ENV['CONTAINERNAME']
  end

  config.vm.provision "runscript", type: "shell", inline: <<-SHELL
    copy "C:\\Program Files\\Microsoft SQL Server\\MSSQL12.SQLEXPRESS\\MSSQL\\Log\\ERRORLOG" "c:\\vagrant"
    exit $LASTEXITCODE
  SHELL
end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy