Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Operators

Creating an image from a snapshot

 

 

OpenStack operators RSS feed   Index | Next | Previous | View Threaded


swinchen at gmail

Aug 15, 2012, 5:41 PM

Post #1 of 4 (515 views)
Permalink
Creating an image from a snapshot

Hi all,

I am trying to modify a stock image (http://cloud-images.ubuntu.com/)
to include the software needed for our particular tasks (graphical
environment, engineering software, word processor, printer, etc). To
do this I made all the changes I need to an instance and took a
snapshot. Is there a way to "reset" the image so the initial
cloud-init procedures will be called for importing ssh keys (and any
other setup it may do)?

Thanks,
Sam

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


sorrison at gmail

Aug 15, 2012, 5:59 PM

Post #2 of 4 (505 views)
Permalink
Re: Creating an image from a snapshot [In reply to]

Hi Sam,

Cloud init should run every time you start/boot/reboot up an instance from what I understand.

Cheers,
Sam


On 16/08/2012, at 10:41 AM, Samuel Winchenbach <swinchen [at] gmail> wrote:

> Hi all,
>
> I am trying to modify a stock image (http://cloud-images.ubuntu.com/)
> to include the software needed for our particular tasks (graphical
> environment, engineering software, word processor, printer, etc). To
> do this I made all the changes I need to an instance and took a
> snapshot. Is there a way to "reset" the image so the initial
> cloud-init procedures will be called for importing ssh keys (and any
> other setup it may do)?
>
> Thanks,
> Sam
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


_______________________________________________
OpenStack-operators mailing list
OpenStack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


lloydostack at gmail

Aug 15, 2012, 7:02 PM

Post #3 of 4 (504 views)
Permalink
Re: Creating an image from a snapshot [In reply to]

On Wed, Aug 15, 2012 at 5:59 PM, Sam Morrison <sorrison [at] gmail> wrote:
> Hi Sam,
>
> Cloud init should run every time you start/boot/reboot up an instance from what I understand.
>
> Cheers,
> Sam
>
>
> On 16/08/2012, at 10:41 AM, Samuel Winchenbach <swinchen [at] gmail> wrote:
>
>> Hi all,
>>
>> I am trying to modify a stock image (http://cloud-images.ubuntu.com/)
>> to include the software needed for our particular tasks (graphical
>> environment, engineering software, word processor, printer, etc). To
>> do this I made all the changes I need to an instance and took a
>> snapshot. Is there a way to "reset" the image so the initial
>> cloud-init procedures will be called for importing ssh keys (and any
>> other setup it may do)?

My experience is the same as Sam Morrison's.

precise-server-cloudimg-amd64-disk1.img 15-Aug-2012 06:48 222M
Cloud image for 64-bit computers (QCOW2 disk image file for use with
QEMU and KVM)

What are the symptoms you are seeing? You can manually add another key
(hard code) to authorized_keys to help you debug the symptom.

Cheers,
--
@lloyddewolf
http://www.pistoncloud.com/

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


swinchen at gmail

Aug 15, 2012, 7:40 PM

Post #4 of 4 (504 views)
Permalink
Re: Creating an image from a snapshot [In reply to]

It worked fine on my second attempt (If only everything would work
after two tries!).

I am not sure what I did incorrectly the first time, but I could not
ssh to the instance with my new (testing) key.

Thanks for the help, if I run into that problem again I will try a
little harder to debug it and not just dump the instance and start
over.

Sam

On Wed, Aug 15, 2012 at 10:02 PM, Lloyd Dewolf <lloydostack [at] gmail> wrote:
> On Wed, Aug 15, 2012 at 5:59 PM, Sam Morrison <sorrison [at] gmail> wrote:
>> Hi Sam,
>>
>> Cloud init should run every time you start/boot/reboot up an instance from what I understand.
>>
>> Cheers,
>> Sam
>>
>>
>> On 16/08/2012, at 10:41 AM, Samuel Winchenbach <swinchen [at] gmail> wrote:
>>
>>> Hi all,
>>>
>>> I am trying to modify a stock image (http://cloud-images.ubuntu.com/)
>>> to include the software needed for our particular tasks (graphical
>>> environment, engineering software, word processor, printer, etc). To
>>> do this I made all the changes I need to an instance and took a
>>> snapshot. Is there a way to "reset" the image so the initial
>>> cloud-init procedures will be called for importing ssh keys (and any
>>> other setup it may do)?
>
> My experience is the same as Sam Morrison's.
>
> precise-server-cloudimg-amd64-disk1.img 15-Aug-2012 06:48 222M
> Cloud image for 64-bit computers (QCOW2 disk image file for use with
> QEMU and KVM)
>
> What are the symptoms you are seeing? You can manually add another key
> (hard code) to authorized_keys to help you debug the symptom.
>
> Cheers,
> --
> @lloyddewolf
> http://www.pistoncloud.com/
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

OpenStack operators RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.