Commit 6f8b20c
committed
Make sure user provisioning scripts can be executed
There are 2 issues:
* a typo (note the double "}}") made the waiting loop run forever:
until [ -e "/run/user/${LIMA_CIDATA_UID}}/systemd/private" ]; do sleep 3; done
* the user scripts are owned by root with mode 700 on /mnt/lima_cidata/... so
not accessible by the regular user
This commit copies them into the home directory (and deletes them after execution)
Signed-off-by: Jan Dubois <[email protected]>1 parent de25ccc commit 6f8b20c
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
0 commit comments