Commit a0f7b52
committed
base_image: add missing become privileges for custom image tasks
Fix permission errors when using system libvirt by adding missing
become privileges to tasks that write to system directories:
- Fetch the custom image task
- Fetch the sha512sums file task
- Touch the custom image sentinel task
- Build the custom index task
- Generate the index repository task
These tasks failed with "Destination not writable" errors because
they were running as user but needed to write to root-owned directories
in /var/lib/libvirt/images/ when using system libvirt.
Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>1 parent ffd47f8 commit a0f7b52
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| |||
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
164 | 170 | | |
| |||
190 | 196 | | |
191 | 197 | | |
192 | 198 | | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
| |||
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
| 236 | + | |
| 237 | + | |
228 | 238 | | |
229 | 239 | | |
230 | 240 | | |
| |||
0 commit comments