You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,21 @@ Looking for SQL Server on Windows VM? Check https://github.com/msabramo/vagrant_
10
10
## Features
11
11
12
12
* Ubuntu 16.04
13
+
* Hyper-V or [VirtualBox](https://www.virtualbox.org/)
13
14
*[SQL Server 2017 on Linux](https://docs.microsoft.com/en-us/sql/linux/) (official packages by Microsoft)
14
15
*[SQL Server command-line tools on Linux](https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools)
15
16
* Pre-configured with
16
17
* Vagrant default user: `vagrant` with password `vagrant`
17
18
* Port forwarding from host `2433` to guest `1433` (default).
19
+
**Hyper-V*: No port forwarding configured - default port used.
18
20
* Database user `sa` with password `Password123`.
19
21
* Database `master`.
20
22
* Set SQL Server edition to `Developer` with `MSSQL_PID="Developer`.
21
23
* Other of configuration [Environment variable](https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-environment-variables) set to default.
@@ -35,18 +37,22 @@ Looking for SQL Server on Windows VM? Check https://github.com/msabramo/vagrant_
35
37
36
38
### Vagrant VM
37
39
38
-
*`vagrant up` to create and boot the guest virtual machine.
39
-
First time run, this may take quite a while as the base box image is downloaded
40
-
and provisioned, packages installed.
40
+
*`vagrant up` - create and boot the guest virtual machine.
41
+
42
+
First time run, this may take quite a while as the base box image is downloaded and provisioned, packages installed.
43
+
44
+
On Hyper-V, if Vagrant prompts for the Hyper-V Switch, choose `Default Switch` or `External Switch`.
45
+
46
+
On Hyper-V, no port forwarding is enabled. Once the provisioning is done, IP address of the guest is printed. Use this IP to connect from host to the SQL Server using the default port.
47
+
48
+
*`vagrant ssh` - access the guest shell via SSH.
41
49
42
-
*`vagrant ssh` to get direct access to the guest shell via SSH.
43
50
You'll be connected as the vagrant user.
44
51
You can get root access with `sudo` command.
45
52
46
-
*`vagrant halt`to shutdown the guest machine.
53
+
*`vagrant halt`- shutdown the guest machine.
47
54
48
-
*`vagrant destroy` to wipe out the guest machine completely.
49
-
You can re-create it and start over with `vagrant up`.
55
+
*`vagrant destroy` - wipe out the guest machine completely.
0 commit comments