Commit d0162b1
committed
fix: adjust Flatcar aks-sysext to not use /etc or /opt/bin
Hosting a directory-based sysext from /etc is a problem because Flatcar
will use confext soon, which will make /etc an overlayfs. It is now
hosted from /mnt/aks-sysext instead.
Pointing the /usr/local/bin symlink at /opt/bin is also confusing
because AKS now installs several binaries here. It just needs to point
somewhere writeable, so this now points under /mnt/aks-sysext-rw.
The symlink now covers the whole of /usr/local, not just /usr/local/bin,
as there may be components that need to write to other directories.
Nothing in Agent Baker should write to /usr/local now, but VM extensions
may still do this.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>1 parent c2f8ab3 commit d0162b1
2 files changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | | - | |
9 | | - | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | | - | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | | - | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments