carlcho, I use a preseed config to install Debian 10. This preseed installation installs cloud-init packages and prepares it to work with password reset, grow root partition, SSH key injection.
You can do it manually following the scripts too. Links: ** change [your URL] in files https://gitlab.uspdigital.usp.br/stenio/cloudstack-templates/-/raw/master/config/debian/debian10-xen.cfg https://gitlab.uspdigital.usp.br/stenio/cloudstack-templates/-/raw/4f68dd4dba7c4865045aabb6b891c896d198a91f/config/debian/debian10-sysprep-xen.sh -- Stênio Firmino Filho Chefe de Seção Técnica - SCINT - CETiSP Superintendência de Tecnologia da Informação Universidade de São Paulo Av. Prof. Luciano Gualberto, travessa 3, 71 CEP 05.508-010 - São Paulo/SP On Mon, May 3, 2021 at 3:39 AM 조대형 <carl...@renet.kr> wrote: > Hi, all > > As Andrija said, I have studied about Cloud-init thing. > Still don't know how to implement and create the template with cloud-init. > > Can anyone give me some tips or examples ? > > Thanks, > > > > -----Original Message----- > From: Andrija Panic [mailto:andrija.pa...@gmail.com] > Sent: Thursday, April 29, 2021 5:40 PM > To: users > Subject: Re: Debian/Ubuntu Template password scripts > > The password reset script you tried using was written for init.d, it won't > work on system.d systems (centos7, debian/ubuntu 18+, etc) > > Explore the cloud-init as Christian said - much more powerful (some > learning curve, if not already familiar with it - but it has plugin for > CloudStack, you can also auto-resize partitions after physical (volume) > disk size changed, supports SSH key injection (that ACS provides), etc. > > Cheers, > > On Thu, 29 Apr 2021 at 09:55, <cristian.c@istream.today> wrote: > > > Hi, > > > > Just go with cloud-init: https://cloudinit.readthedocs.io/en/latest/ > > > > > > Regards, > > Cristian > > > > -----Original Message----- > > From: 조대형 <carl...@renet.kr> > > Sent: Thursday, April 29, 2021 10:09 AM > > To: users@cloudstack.apache.org > > Subject: Debian/Ubuntu Template password scripts > > > > Hi, All > > > > I tried to make a Debian10.9.0 template. > > > > > > > http://docs.cloudstack.apache.org/en/latest/adminguide/templates/_password > . > > html#adding-password-management-to-templates > > < > http://docs.cloudstack.apache.org/en/latest/adminguide/templates/_password.html#adding-password-management-to-templates > > > > > > > > > > I followed the adding password Management to your templates instruction. > > > > However, It did not work. > > > > > > > > Do you have any ideas? Or anyone faced the same issues? > > > > > > > > Best regards, > > > > > > > > > > > > -- > > Andrija Panić > >