Commit d1dd396
authored
[v2.0.x] Hostname backports (#1371)
Always ensure a Rancher-vWXYZ transient hostname (#1264)
If a static hostname is not available always set a transient hostname
in the form "Rancher-VWXYZ". Do that also when in recovery mode.
Fixes: rancher/elemental-operator#646
(cherry picked from commit 5e6bc8f)
Signed-off-by: Francesco Giudici <[email protected]>1 parent 8f490c3 commit d1dd396
File tree
2 files changed
+7
-6
lines changed- framework/files/system/oem
2 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 6 | + | |
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments