what's default user of suse jeos?

asked 2018-03-23 03:26:20 -0500

yixuan178 gravatar image

updated 2018-03-23 03:27:20 -0500

https://docs.openstack.org/image-guide/obtain-images.html (https://docs.openstack.org/image-guid...) i downloaded jeos from suse website. but not sure what's default user? i applied one cloud config .


password: mypassword chpasswd: { expire: False } ssh_pwauth: True

but it seems not working. any idea?

edit retag flag offensive close merge delete


Exactly which image did you download and launch? If you choose the SLES12SP3-JeOS, you are asked to set a root password since there are no other users defined. If you choose openSUSE, there's a note in the docs you mentioned:

In a openSUSE cloud image, the login account is opensuse.
eblock gravatar imageeblock ( 2018-03-23 04:47:38 -0500 )edit

If you launch ../images/openSUSE-Leap-42.3-OpenStack.x86_64.qcow2 you should either provide a keypair via openstack or expand your user-data to create a new user with your desired password. I was able to login password-less via ssh as user "opensuse", sudo -i also works for further configuration.

eblock gravatar imageeblock ( 2018-03-23 05:10:20 -0500 )edit

@ebblock i am using sles12.3 jeos from http://suse.com, when i used cloud-config, it cannot set password for root.

yixuan178 gravatar imageyixuan178 ( 2018-03-23 12:01:08 -0500 )edit

I believe that is because the image is not fully configured after first boot. I would suggest to launch that instance, set root password during first boot (you're prompted) and then take a snapshot for glance of the running instance. After that, try launching a new instance with cloud-config.

eblock gravatar imageeblock ( 2018-03-26 05:39:54 -0500 )edit