Commit 19616e6
committed
feat: add nerdctl configuration file creation and offline checks
- Add a function to create the nerdctl configuration file if it doesn't already exist
- Specify the address and namespace in the newly created nerdctl configuration
- Update the installation process to include the creation of the nerdctl configuration file
- Introduce an offline installation check in the joinNode function for cluster management
Signed-off-by: ysicing <i@ysicing.me>1 parent 5ff1633 commit 19616e6
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
108 | 122 | | |
109 | 123 | | |
110 | 124 | | |
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
| 128 | + | |
114 | 129 | | |
115 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
| |||
0 commit comments