Closed gprakosa closed 4 years ago
You would have to specify one or provide a SSH key with your ignition file.
Thanks for the report!
There is no password for root or core. Like @anthr76 said, most often an ssh-key is provided to ignition or cloudinit, via userdata.
Refer to https://github.com/kinvolk/ignition/blob/flatcar-master/doc/configuration-v2_3.md for information on setting the password or ssh-keys via ignition It is also possible to set a password with cloudinit https://github.com/kinvolk/coreos-cloudinit#configuration-with-cloud-config
A flatcar.autologin
kernel parameter exists to not require a password for the VGA or serial console.
I used to know how to use guest customization on VMWare, but not sure how to do that on Hyper-V for supplying my user-data using ignition file or cloudinit.
But, I confirmed that @pothos solution is works on my Hyper-V instead it's stated for Azure. The rest is to put my pubkey into ~/.ssh/authorized_keys
.
Thanks all!
The Hyper-V and Azure OEM images are different. If you are on Azure, you can use our official images there.
Hi,
Just boot using image from https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_hyperv_image.vhd.bz2 (2605.7.0) just don't know how to login. Tried username / password with core and still no luck.
Ah, before this I already tried using the ISO file, it was stuck on downloading, verifying the-image-name.bin.bz2 when fire-up
flatcar-install -d /dev/sda -i ignition.json
Thanks.