This is a collection of start-up scripts to setup various forms of remote management/functionality.
From the client that you want to bootstrap, pipe the scripts into bash or PowerShell, or equally put the same command into your user_data.
You probably want either linux-for-ansible.sh
or windows-for-winrm.ps1
Note: Currently this script only targets Debian/Ubuntu/Mint. Your mileage may vary on other Debian-based distros.
$ bash <(curl -s -L https://git.io/bstlnx)
# (Expanded)
# bash <(curl --silent --location \
# https://raw.githubusercontent.com/davidsuart/bootstrap/master/linux-for-ansible.sh)
Note: Currently this script only targets Windows 8/Server 2012 and above. This is due to some of the cmdlets not being available on Windows 6.1, regardless of the PowerShell version you upgrade to.
# Powershell 3.0+
> iwr -useb https://git.io/bstwin | iex
# (Expanded)
# Invoke-WebRequest -UseBasicParsing `
# https://raw.githubusercontent.com/davidsuart/bootstrap/master/windows-for-winrm.ps1 `
# | Invoke-Expression
# Powershell 2.0-
> (New-Object System.Net.WebClient).DownloadString('https://git.io/bstwin') | iex
See notes above in Linux and Windows sections regarding compatibility.
Spotted an error? Something functional to add value? Send me a pull request!
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/foo
) - Commit your changes (
git commit -am 'Add some foo'
) - Push to the branch (
git push origin feature/foo
) - Create a new Pull Request
MIT license. See LICENSE for full details.