Skip to content

Windows Subsystem for Linux provisioning code

License

Notifications You must be signed in to change notification settings

clearasmudd/wsl-provision

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows subsystem for Linux development setup

sudo salt-call --local --file-root=/mnt/c/vagrant/github/clearasmudd/wsl-provision/states/ state.highstate

This repository contains code that provisions a bare bone WLS installation with tools listed below:

  • Clang
  • Cython
  • Docker (in client mode)
  • git
  • golang
  • heroku cli
  • oracle java8
  • node
  • python
  • rust
  • vim + ultimate-vim setup
  • zsh + oh-my-zsh

On top of that various customaizations are done to:

  • Start an ssh agent & load keys from ~/.ssh on startup
  • Fix shell syntax higlighting.

Before you start

Download & install a decent shell application:

Download & install docker for Windows. Linux version will connect to it through DOCKCER_HOST.

If you want a nice font please try Hack.

Provisioning

Scripts in this repositroy depend on SaltStack. Please install it by executing the command below:

wget -qO- https://bootstrap.saltstack.com | sudo sh -s -- -P -d git develop

Fill out templating info:

cp states/vars.template states/vars
vim states/vars

Once done, run saltstack:

sudo salt-call --local --file-root=./states state.highstate

Please wait for the scipts to do their work. This should take around 5 mins.

Profit!

About

Windows Subsystem for Linux provisioning code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SaltStack 86.9%
  • Shell 7.2%
  • Python 5.9%