Commit d717a7a
authored
Reformat compute_fixed_image user_data (#847)
When the additional_cloud_config support was added, newline
characters were also added outside of the conditional block. This
means compute_fixed_image instances would be shceduled for
replacement on the next tofu apply. This breaks slurm controlled
rebuilds, as these fixed nodes should not be replaced at this step.
Correct this by moving the newlines to be within the conditional
block. The double newline is presevred to avoid breaking systems
which are already using both additional_cloud_config and slurm
controlled rebuild.1 parent adb62d0 commit d717a7a
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
138 | 139 | | |
139 | | - | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
0 commit comments