title: Adding kernel parameters layout: os-default
There are two ways to edit the kernel parameters, in-place (editing the file and reboot) or during installation to disk.
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 activate this setting, you will need to reboot.
$ sudo system-docker run --rm -it -v /:/host alpine vi /host/boot/global.cfg
If you want to set the extra kernel parameters when you are Installing RancherOS to Disk please use the --append
parameter.
$ sudo ros install -d /dev/sda --append "rancheros.autologin=tty1"