You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Marty Sweet <ms...@gmail.com> on 2013/08/14 14:02:53 UTC

Linux Template Documentation

Hi guys,

I was planning on making some documentation which explains how to prepare a
Linux VM for template creation (there is a good doc about Windows), what do
you think? My only current issue is how to pick up a hostname from DHCP,
while I have worked out how to do it, I would be intrested to see how the
system vms achieve it and use those scripts rather than reinventing the
wheel.

Would I be correct in thinking in order to precede I will have to raise a
feature on Jira, then submit the documentation to the review board?

Thanks,
Marty

RE: Linux Template Documentation

Posted by "Musayev, Ilya" <im...@webmd.net>.
Please note that you have to remove the udev rule for networking, otherwise MAC address will be hardcoded and VM on power on will have an old MAC address for the network card that no longer exists. End result will be no network connectivity.

As for DHCP hostname, it usually picks up the hostname by default provided by dhcp client. Make sure the hostname is not force set to "localhost" in your configs.

Regards
ilya

-----Original Message-----
From: Wido den Hollander [mailto:wido@widodh.nl] 
Sent: Wednesday, August 14, 2013 8:12 AM
To: dev@cloudstack.apache.org
Subject: Re: Linux Template Documentation



On 08/14/2013 02:02 PM, Marty Sweet wrote:
> Hi guys,
>
> I was planning on making some documentation which explains how to 
> prepare a Linux VM for template creation (there is a good doc about 
> Windows), what do you think? My only current issue is how to pick up a 
> hostname from DHCP, while I have worked out how to do it, I would be 
> intrested to see how the system vms achieve it and use those scripts 
> rather than reinventing the wheel.
>

Don't forget to make sure acpid is installed, otherwise the VM won't respond to a graceful shutdown.

And don't forget the password reset script which should be present to allow password changes.

Wido


> Would I be correct in thinking in order to precede I will have to 
> raise a feature on Jira, then submit the documentation to the review board?
>
> Thanks,
> Marty
>



Re: Linux Template Documentation

Posted by David Nalley <da...@gnsa.us>.
On Wed, Aug 14, 2013 at 8:12 AM, Wido den Hollander <wi...@widodh.nl> wrote:
>
>
> On 08/14/2013 02:02 PM, Marty Sweet wrote:
>>
>> Hi guys,
>>
>> I was planning on making some documentation which explains how to prepare
>> a
>> Linux VM for template creation (there is a good doc about Windows), what
>> do
>> you think? My only current issue is how to pick up a hostname from DHCP,
>> while I have worked out how to do it, I would be intrested to see how the
>> system vms achieve it and use those scripts rather than reinventing the
>> wheel.
>>
>
> Don't forget to make sure acpid is installed, otherwise the VM won't respond
> to a graceful shutdown.
>
> And don't forget the password reset script which should be present to allow
> password changes.
>
> Wido
>

Modern cloud-init supports CloudStack - might be appropriate to
document configuring that rather than password/ssh script for modern
distros.

--David

Re: Linux Template Documentation

Posted by Wido den Hollander <wi...@widodh.nl>.

On 08/14/2013 02:02 PM, Marty Sweet wrote:
> Hi guys,
>
> I was planning on making some documentation which explains how to prepare a
> Linux VM for template creation (there is a good doc about Windows), what do
> you think? My only current issue is how to pick up a hostname from DHCP,
> while I have worked out how to do it, I would be intrested to see how the
> system vms achieve it and use those scripts rather than reinventing the
> wheel.
>

Don't forget to make sure acpid is installed, otherwise the VM won't 
respond to a graceful shutdown.

And don't forget the password reset script which should be present to 
allow password changes.

Wido


> Would I be correct in thinking in order to precede I will have to raise a
> feature on Jira, then submit the documentation to the review board?
>
> Thanks,
> Marty
>

Re: Linux Template Documentation

Posted by Jason Pavao <ja...@oracle.com>.
Very interested in seeing this doc, there is no clear documentation on 
this process.
-jason

On 8/14/2013 5:02 AM, Marty Sweet wrote:
> Hi guys,
>
> I was planning on making some documentation which explains how to prepare a
> Linux VM for template creation (there is a good doc about Windows), what do
> you think? My only current issue is how to pick up a hostname from DHCP,
> while I have worked out how to do it, I would be intrested to see how the
> system vms achieve it and use those scripts rather than reinventing the
> wheel.
>
> Would I be correct in thinking in order to precede I will have to raise a
> feature on Jira, then submit the documentation to the review board?
>
> Thanks,
> Marty
>

-- 
Thanks.
-Jason


RE: Linux Template Documentation

Posted by Radhika Puthiyetath <ra...@citrix.com>.
Absolutely. Thanks for the effort, Marty.

-----Original Message-----
From: Marty Sweet [mailto:msweet.dev@gmail.com] 
Sent: Wednesday, August 14, 2013 5:33 PM
To: dev@cloudstack.apache.org
Subject: Linux Template Documentation

Hi guys,

I was planning on making some documentation which explains how to prepare a Linux VM for template creation (there is a good doc about Windows), what do you think? My only current issue is how to pick up a hostname from DHCP, while I have worked out how to do it, I would be intrested to see how the system vms achieve it and use those scripts rather than reinventing the wheel.

Would I be correct in thinking in order to precede I will have to raise a feature on Jira, then submit the documentation to the review board?

Thanks,
Marty