Hi Stephan, I just figured out how to do, i also created a template for CentOS 7 but i changed user from vmadmin to root also everything is ok except i'm not able to connect via ssh on VM ( i get time out ) but if go via console on VM i have network connection and generated password works.
Thank you ! ( very nice scripts ) Regards, Cristian On 19.02.2016 18:14:43, Stephan Seitz <[email protected]> wrote: Hey Cristian, we will add distribution-dependent README.md next week. If you'ld like to follow the same naming, just: 1. create a user "vmadmin" 2. optional: add vmadmin user to sudoers (maybe with NOPASSWD: ) 3. copy the files 4. enable the init scripts. E.g. systemctl enable cloud... or update-rc.d ... depends on the respective distro. If you copied the files (some need executable rights, e.g. /etc/init.d/... or /usr/local/sbin/...) If you want to benefit from the rock-sold (hehe...) accessibility, just create some kind of "admin-only" or "management" or similar network with a network-address of 10.97.64.0 (doesn't matter if it's /24 or bigger, though we're using a /22) and attach this network as the first one. The whole magic is done via movedhcpdefaultroute script. We're using the /root/newtemplate.sh if we modified our templates and just want to create the next version of it. As said, next week some documentation and suggestions will follow :) cheers, - Stephan Am Freitag, den 19.02.2016, 17:18 +0200 schrieb Cristian Ciobanu: > Hi Stephan, > > First of all, thanks for scripts, also can you let me know what need to be > executed on VM after script file's are copied on VM. > > I don't see any information, is like only copy the files and execute > newtemplate.sh. > > Regards, > Cristian > On 19.02.2016 13:19:47, Stephan Seitz wrote: > Hi guys, > > just sorting out our repository. > > Maybe you find it useful: > https://github.com/HeinleinSupport/acs-template-scripts > > Currently, the scripts are looking somewhat messy and our SuSE LEAP > scripts are waiting for cleanup, but for the impatient ones ... > > For ACS we're moving to public github projects, so I'ld expect more to > come ;) > > cheers and have a nice weekend! > > - Stephan > > Am Donnerstag, den 18.02.2016, 22:13 +0200 schrieb Cristian Ciobanu: > > Hello, > > > > Nice to hear this, i will wait for updates. > > > > > > Regards, > > Cristian > > On 18.02.2016 19:19:30, Stephan Seitz wrote: > > Hi, > > > > we've recently built templates for Centos 7, Ubuntu 14.04, Debian 8 and > > SuSE Leap 42.1. > > > > We tried to do our work as near as possible to the respective default > > networking. So CentOS 7 w/ NM and SuSE Leap with wicked (which caused a > > lot of pain to get it working...) > > > > We're just sorting out our git project including ReadMe's and scripts > > and expect to push it tomorrow to github. > > > > cheers, > > > > - Stephan > > > > Am Donnerstag, den 18.02.2016, 15:04 +0200 schrieb Cristian Ciobanu: > > > Hello, > > > > > > Can i get a documentation for how to create Linux templates, and needed > > > scripts ? > > > > > > I did like in this example : > > > http://cloudstack-administration.readthedocs.org/en/4.8/templates.html#creating-a-template-from-an-existing-virtual-machine > > > but is not working for CentOS 6.7 or CentOS 7 ( after deploy from > > > template template i don't have IP assigned on my network also password > > > reset is not working ) > > > > > > Thank you! > > > > > > > > > Regards, > > > Cristian > > > > > >
