Difference between revisions of "Bright:upgrade image"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Clone and Edit and Existing Image == If you are using the same OS as a previously created image, cloning it is the easiest method to create a new image. Clicking on clone...")
(No difference)

Revision as of 14:58, 11 April 2014

Clone and Edit and Existing Image

If you are using the same OS as a previously created image, cloning it is the easiest method to create a new image. Clicking on clone will ask you for a name for the new image. Click save and the new image wll be created in /cm/images. It will also appear in the list in the GUI.

Using cmsh:

softwareimage clone <oldimage> <newimage>
#It will take some time for the image to be cloned, wait until this has completed before making further changes

From here the image will need to be edited tom ake the required changes. There are two way to do this. Clicking the image in the GUI you can access the root shell under the tasks tab.

From the command line you can run the command:

chroot /cm/images/<image name>


Run a new Kernel

Since the image cannot be rebooted the kernel will not change. To force the new kernel to un after isntalltion use cmsh:

[root@head1 ~]# cmsh
[head1]% softwareimage set <image_name> kernelversion <kernel>

Create a new Categorie

It may be that you need to clone the catergoies and change the image used to keep other settings the same:

category clone <oldcategory > <newcategory >
#wait until the image has been cloned
category set <category > softwareimage <image>