|
3 | 3 | # Script Name: install.sh |
4 | 4 | # Author: Greg Oliver - Microsoft github:(sebastus) |
5 | 5 | # Version: 0.1 |
6 | | -# Last Modified By: Greg Oliver |
| 6 | +# Last Modified By: Jeffrey Cline |
7 | 7 | # Description: |
8 | 8 | # This script configures authentication for Terraform and remote state for Terraform. |
9 | 9 | # Parameters : |
10 | 10 | # 1 - s: Azure subscription ID |
11 | | -# 2 - a: Storage account name |
12 | | -# 3 - k: Storage account key (password) |
13 | | -# 4 - l: MSI client id (principal id) |
14 | | -# 5 - u: User account name |
15 | | -# 6 - d: Ubuntu Desktop GUI for developement |
16 | | -# 7 - h: help |
| 11 | +# 2 - t: Azure tenant ID |
| 12 | +# 3 - a: Storage account name |
| 13 | +# 4 - k: Storage account key (password) |
| 14 | +# 5 - l: MSI client id (principal id) |
| 15 | +# 6 - u: User account name |
| 16 | +# 7 - d: Ubuntu Desktop GUI for developement |
| 17 | +# 8 - h: help |
17 | 18 | # Note : |
18 | 19 | # This script has only been tested on Ubuntu 12.04 LTS & 14.04 LTS and must be root |
19 | 20 |
|
|
27 | 28 | echo "Usage: " |
28 | 29 | echo "Parameters:" |
29 | 30 | echo "- s: Azure subscription ID" |
| 31 | + echo "- t: Azure tenant ID" |
30 | 32 | echo "- a: Storage account name" |
31 | 33 | echo "- k: Storage account key (password)" |
32 | 34 | echo "- l: MSI client id (principal id)" |
|
50 | 52 | fi |
51 | 53 |
|
52 | 54 | # Arguments |
53 | | -while getopts :s:a:k:l:u:d: optname; do |
| 55 | +while getopts :s:t:a:k:l:u:d: optname; do |
54 | 56 | if [[ $optname != 'e' && $optname != 'k' ]]; then |
55 | 57 | log "Option $optname set with value ${OPTARG}" |
56 | 58 | fi |
|
0 commit comments