File tree Expand file tree Collapse file tree 6 files changed +20
-3
lines changed
Expand file tree Collapse file tree 6 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ log_info() {
1010log_info " Installing required packages for xdmod.."
1111
1212ARCHTYPE=` uname -m`
13+ XDMOD_VERSION=" 11.0.1-1"
1314
1415# ------------------------
1516# For the purpose of the tutorial we install some extra packages that
@@ -46,9 +47,9 @@ dnf install -y \
4647# be installed in the same container. In a production deployment they may be installed
4748# on separate hosts.
4849# ------------------------
49- dnf install -y https://github.com/ubccr/xdmod/releases/download/v11.0.0-1.0 /xdmod-11.0.0-1.0 .el8.noarch.rpm \
50- https://github.com/ubccr/xdmod-ondemand/releases/download/v11.0.0-1.0 /xdmod-ondemand-11.0.0-1.0 .el8.noarch.rpm \
51- https://github.com/ubccr/xdmod-supremm/releases/download/v11.0.0-1.0 /xdmod-supremm-11.0.0-1.0 .el8.noarch.rpm \
50+ dnf install -y https://github.com/ubccr/xdmod/releases/download/v ${XDMOD_VERSION} /xdmod-${XDMOD_VERSION} .el8.noarch.rpm \
51+ https://github.com/ubccr/xdmod-ondemand/releases/download/v ${XDMOD_VERSION} /xdmod-ondemand-${XDMOD_VERSION} .el8.noarch.rpm \
52+ https://github.com/ubccr/xdmod-supremm/releases/download/v ${XDMOD_VERSION} /xdmod-supremm-${XDMOD_VERSION} .el8.noarch.rpm \
5253 https://github.com/ubccr/supremm/releases/download/2.0.0/supremm-2.0.0-1.el8.${ARCHTYPE} .rpm
5354
5455# ------------------------
Original file line number Diff line number Diff line change @@ -62,3 +62,14 @@ proc confirmDropDb { response } {
6262 }
6363 send $response \n
6464}
65+
66+ proc ignoreNewVersion {} {
67+ expect {
68+ " Do you want to continue" {
69+ send " yes"
70+ exp_continue
71+ }
72+ " Open XDMoD Setup" {
73+ }
74+ }
75+ }
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ source [file join [file dirname [info script]] helper-functions.tcl]
1414set timeout 240
1515spawn " xdmod-setup"
1616
17+ ignoreNewVersion
1718selectMenuOption 5
1819provideInput {Username:} admin
1920providePassword {Password:} admin
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ source [file join [file dirname [info script]] helper-functions.tcl]
1919set timeout 240
2020spawn " xdmod-setup"
2121
22+
23+ ignoreNewVersion
2224# Add an OnDemand resource
2325selectMenuOption 4
2426
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ source [file join [file dirname [info script]] helper-functions.tcl]
1414set timeout 240
1515spawn " xdmod-setup"
1616
17+ ignoreNewVersion
1718selectMenuOption 1
1819answerQuestion {Site Address} https://localhost:4443/
1920provideInput {Email Address:}
[email protected]
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ source [file join [file dirname [info script]] helper-functions.tcl]
1919set timeout 240
2020spawn " xdmod-setup"
2121
22+ ignoreNewVersion
2223selectMenuOption 9
2324
2425selectMenuOption d
You can’t perform that action at this time.
0 commit comments