Re: Cloud init settings for Config Drive on L2 networks

2023-10-06 Thread Joan g
Thanks. it helps a lot On Thu, 5 Oct, 2023, 16:43 Jorge Luiz Correa, wrote: > Just sharing some scripts used here. I hope they can help you. > > Create file cloud.cfg_jammy > > Change the following lines: > cloud_init_modules: > . > . > - [ssh, always] > > cloud_config_modules: > . > . > -

Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Jorge Luiz Correa
Just sharing some scripts used here. I hope they can help you. Create file cloud.cfg_jammy Change the following lines: cloud_init_modules: . . - [ssh, always] cloud_config_modules: . . - [set-passwords, always] Download the cloud-set-guest-password-configdrive.sh script. Create

Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Joan g
Thanks wei... On Thu, 5 Oct, 2023, 13:20 Wei ZHOU, wrote: > You need to add a script in the template to get password from configdrive > and reset user password. For example > > https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in >

Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Wei ZHOU
You need to add a script in the template to get password from configdrive and reset user password. For example https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in -Wei On Thu, 5 Oct 2023 at 09:38, Joan g wrote: > Hello

Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Joan g
Hello Community, Can someone guide me on configuration that should be added to cloud-init settings for creating password enabled templates using configdrive in ubuntu 20,22. We need to deploy passsword and sshkey enabled templates on ubuntu that will be using L2 networks. Thanks joan