1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

add some better menu touches, make upgrade also upgrade to the menu, and add a ros config syslinux cmd for editing the global.cfg

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-06-28 23:58:14 +10:00
parent 204facc395
commit b733bde9cd
7 changed files with 95 additions and 18 deletions

View File

@@ -10,14 +10,13 @@ There are two ways to edit the kernel parameters, in-place (editing the file and
### In-place editing
For in-place editing, you will need to run a container with an editor and a mount to access the `/boot/global.cfg` file containing the kernel parameters.
To edit the kernel boot parameters of an already installed RancherOS system, use the new `sudo ros config syslinux` editing command (uses `vi`).
> To activate this setting, you will need to reboot.
```bash
$ sudo system-docker run --rm -it -v /:/host alpine vi /host/boot/global.cfg
```
#### Graphical boot screen
RancherOS v1.1.0 added a syslinux boot menu, which on desktop systems can be switched to graphical mode by adding `UI vesamenu.c32` to a new line in `global.cfg` (use `sudo ros config syslinux` to edit the file).
### During installation