curved-caravan-26314
06/23/2022, 6:25 PMhigh-waitress-66594
06/27/2022, 10:33 PMcurved-caravan-26314
06/27/2022, 10:44 PMhigh-waitress-66594
06/27/2022, 10:53 PMssh_authorized_keys: []
array and/or set a password via k3os.password
(yaml k3os: {password: "", ...}
curved-caravan-26314
06/27/2022, 10:54 PMhigh-waitress-66594
06/27/2022, 10:54 PMe
in the grub menu and add k3os.password=mypassword
on the kernel command line as a one-time override (the password will be forgotten next boot, so update your config)curved-caravan-26314
06/27/2022, 10:56 PMhigh-waitress-66594
06/27/2022, 10:57 PMconfig.yaml
i mean?curved-caravan-26314
06/27/2022, 10:57 PMhigh-waitress-66594
06/27/2022, 11:00 PMk3os.password
value on the kernel command-line
• ssh rancher@<host>
using said password to verify connectivity
• copy over the config.yaml
via the ssh connectivity. for me this is usually scp
config,yaml
on a usb drive to mount and manually copy onto the system to be used during installationcurved-caravan-26314
06/27/2022, 11:02 PMhigh-waitress-66594
06/27/2022, 11:02 PM/k3os/system/config.yaml
(on a booted system) but this can be edited and/or supplemented after the install completes but prior to reboot if you know where to look. see https://github.com/rancher/k3os#configuration, specifically the latter two items in that list/k3os/data
, i.e.
• sudo mkdir -vp /mnt
• sudo mount /dev/sda1 /mnt
• sudo mkdir -vp /mnt/k3os/data/var/lib/rancher/k3os/config.d
• sudo cp my-custom-config.yaml /mnt/k3os/data/var/lib/rancher/k3os/config.d/