Re: cloud-set-guest-password script for CentOS 7 template

2015-09-03 Thread Jeff Moody
I have SystemD Unit files as well as scripts that work under EL7 located in my template-building Ansible Playbook repository located at https://github.com/fifthecho/CloudStack-Template On 9/3/2015 3:20 AM, christian.kir...@zv.fraunhofer.de wrote: > Hi, > > I encountered a similar issues,

Re: cloud-set-guest-password script for CentOS 7 template

2015-09-03 Thread christian.kirmse
Hi, I encountered a similar issues, although I'm still not quite as far as you building a systemd script. I also changed the script to the right directory for the lease files. When the vm starts it takes approximately 15 minutes to be ready, that must have something to do with the script, but

Re: cloud-set-guest-password script for CentOS 7 template

2015-09-03 Thread Erik Weber
Nux is using cloud-init to do it in his templates, see here: https://github.com/NuxRo/openvm/blob/master/kickstarts/vanilla/7/post_cloudstack.ks -- Erik On Thu, Sep 3, 2015 at 9:20 AM, wrote: > Hi, > > I encountered a similar issues, although I'm still not

Re: cloud-set-guest-password script for CentOS 7 template

2015-09-03 Thread Indra Pramana
Dear all, Anyone has tried creating CentOS 7 OS template in CloudStack and experiencing similar problem? Thank you. -ip- On Wed, Sep 2, 2015 at 1:25 PM, Indra Pramana wrote: > Dear all, > > I am using ACS 4.2.0 with KVM hypervisor. I am trying to create a CentOS 7 > template

Re: cloud-set-guest-password script for CentOS 7 template

2015-09-03 Thread Pierre-Luc Dion
I think you have to update the cloud-set-guest-password.sh to properly set the dhcp path, something like /var/lib/dhcp. I think the dhcp client path changed in centos7. On Sep 3, 2015 03:59, "Erik Weber" wrote: > Nux is using cloud-init to do it in his templates, see here:

cloud-set-guest-password script for CentOS 7 template

2015-09-01 Thread Indra Pramana
Dear all, I am using ACS 4.2.0 with KVM hypervisor. I am trying to create a CentOS 7 template and everything is running fine except the CloudStack password reset script template. CentOS 7 is using systemd so I have created the required /usr/lib/systemd/system/cloud-set-guest-password.service as