gitpod-io / template-k3s

The k3s template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral Kubernetes development environments in the cloud.
MIT License
38 stars 17 forks source link

the template doesn't work anymore due to user:pass & keys #6

Open h4ck3rk3y opened 3 months ago

h4ck3rk3y commented 3 months ago

Bug description

gitpod /workspace/gitpod-k3s/.gitpod (main) $ ./ssh.sh whoami
root@127.0.0.1: Permission denied (publickey).
gitpod /workspace/gitpod-k3s/.gitpod (main) $ 
gitpod /workspace/gitpod-k3s (main) $  HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> .gitpod/prepare-k3s.sh
> 
> }
πŸ”₯ Installing everything, this will be done only one time per workspace.
Waiting for the rootfs to become available, it can take a while, open the terminal #2 for progress
βœ… rootfs available
Wait for apt lock to end
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
netcat is already the newest version (1.218-4ubuntu1).
sshpass is already the newest version (1.09-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
βœ… no more apt lock
Waiting for the ssh server to become available, it can take a while, after this k3s is getting installed

this gets stuck here

in the kernel at the end it asked me to login and i was able to login with root/root but rest of it is stuck

Steps to reproduce

Click open in gitpod and wait

Expected behavior

The environment should get created

Example repository

No response

Anything else?

No response

h4ck3rk3y commented 3 months ago

i suppose qemu isn't allowing password authentication

axonasif commented 3 months ago

The performance wouldn't be great even if you could run it in theory.