File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,8 @@ while [[ $# -gt 0 ]]; do
166
166
phases[disko]=0
167
167
phases[install]=0
168
168
phases[reboot]=0
169
- IFS=, read -r -a phase_list <<< " $2"
170
- for phase in " ${phase_list [@]} " ; do
169
+ IFS=, read -r -a phaseList <<< " $2"
170
+ for phase in " ${phaseList [@]} " ; do
171
171
if [[ ${phases[$phase]:- unset} == unset ]]; then
172
172
abort " Unknown phase: $phase "
173
173
fi
@@ -326,17 +326,17 @@ uploadSshKey() {
326
326
327
327
importFacts () {
328
328
step Gathering machine facts
329
- local facts filtered_facts
329
+ local facts filteredFacts
330
330
if ! facts=$( runSsh -o ConnectTimeout=10 enableDebug=$enableDebug sh -- < " $here " /get-facts.sh) ; then
331
331
exit 1
332
332
fi
333
- filtered_facts =$( echo " $facts " | grep -E ' ^(has|is)[A-Za-z0-9_]+=\S+' )
334
- if [[ -z $filtered_facts ]]; then
333
+ filteredFacts =$( echo " $facts " | grep -E ' ^(has|is)[A-Za-z0-9_]+=\S+' )
334
+ if [[ -z $filteredFacts ]]; then
335
335
abort " Retrieving host facts via ssh failed. Check with --debug for the root cause, unless you have done so already"
336
336
fi
337
337
# make facts available in script
338
338
# shellcheck disable=SC2046
339
- export $( echo " $filtered_facts " | xargs)
339
+ export $( echo " $filteredFacts " | xargs)
340
340
}
341
341
342
342
runKexec () {
You can’t perform that action at this time.
0 commit comments