Skip to content

Commit 2f0597c

Browse files
authored
Updated script to build only specified lab (#72)
1 parent 88fde6b commit 2f0597c

File tree

1 file changed

+6
-26
lines changed

1 file changed

+6
-26
lines changed

auto-lab.sh

+6-26
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
##########################################################################
44
# #
5-
# Id: auto-lab.sh Release 0.9.0 2024/08/09 09:00:00 acurrier #
5+
# Id: n4a-auto-lab.sh Release 0.9.0 2024/09/03 09:00:00 acurrier #
66
# (C) Copyright F5, Inc. 2024 #
77
# #
8-
# auto-lab.sh - Pre-build environments for Azure labs on OS X #
8+
# n4a-auto-lab.sh - Pre-build environments for Azure labs on OS X #
99
# Author: Adam Currier <[email protected]> #
10-
# Version: 0.6.0, Date: 2024/08/09 09:00:00 #
10+
# Version: 0.9.0, Date: 2024/09/03 09:00:00 #
1111
# #
1212
##########################################################################
1313

@@ -21,11 +21,10 @@
2121
#-------------------------------------------------------------------------
2222
# Set Variables
2323
#-------------------------------------------------------------------------
24-
NAME="auto-lab.sh"
24+
NAME="n4a-auto-lab.sh"
2525
VERSION="1"
26-
LOG_FILE="autolab.log" # not used yet, but will be soon
27-
#export LOCATION=centralus # can be changed to your location
28-
export LOCATION=eastus # can be changed to your location
26+
LOG_FILE="n4a-autolab.log" # not used yet, but will be soon
27+
export LOCATION=centralus # can be changed to your location
2928

3029
# On OS X, you can pull your username. You can also set it yourself for use in the script:
3130
# export OWNER=<your name>
@@ -88,10 +87,6 @@ echo
8887
## Lab 3
8988
function lab3(){
9089
cleanup
91-
create_ubuntu_vm
92-
secure_port_22
93-
create_windows_vm
94-
secure_port_3389
9590
create_aks_cluster1
9691
clone_repo
9792
create_nic_resources1
@@ -112,21 +107,6 @@ echo
112107
## Lab 4
113108
function lab4(){
114109
cleanup
115-
create_ubuntu_vm
116-
secure_port_22
117-
create_windows_vm
118-
secure_port_3389
119-
create_aks_cluster1
120-
clone_repo
121-
create_nic_resources1
122-
create_jwt1
123-
deploy_nic1
124-
create_aks_cluster2
125-
create_nic_resources2
126-
create_jwt2
127-
deploy_nic2
128-
kubectl_apply
129-
create_nsg_rule_aks
130110
deploy_apps
131111
get_node_ids
132112
create_archive

0 commit comments

Comments
 (0)