[one-users] creating a template with install cd

Javier Fontan jfontan at opennebula.org
Fri May 9 08:44:34 PDT 2014


Set in ubuntu CDROM the TARGET to hda. The bios should catch it. Also
make sure that the cd driver is raw:

TARGET="hda"
DRIVER="raw"

On Fri, May 9, 2014 at 5:14 PM, Thomas Stein <himbeere at meine-oma.de> wrote:
> Hello.
>
> I'm somewhat to stupid to create a template containing to disk images.
> One disk iso (ubuntu install cd) and one empty block. No matter what
> setting i choose the VM starts and complains having no boot device. Here
> the config i tried:
>
> oneadmin at opennebula-frontend:~$ onetemplate show 27
> TEMPLATE 27 INFORMATION
>
> ID             : 27
> NAME           : ubuntu1404_install
> USER           : oneadmin
> GROUP          : oneadmin
> REGISTER TIME  : 05/09 17:06:19
>
> PERMISSIONS
>
> OWNER          : um-
> GROUP          : u--
> OTHER          : u--
>
> TEMPLATE CONTENTS
>
> CONTEXT=[
>   NETWORK="YES",
>   SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
> CPU="2"
> DISK=[
>   DEV_PREFIX="hd",
>   IMAGE="ubuntu1404_iso",
>   IMAGE_UNAME="oneadmin" ]
> DISK=[
>   DEV_PREFIX="vd",
>   DRIVER="qcow2",
>   IMAGE="empty_disk",
>   IMAGE_UNAME="oneadmin" ]
> GRAPHICS=[
>   KEYMAP="de",
>   LISTEN="0.0.0.0",
>   TYPE="VNC" ]
> MEMORY="1024"
> NIC=[
>   NETWORK="cluster",
>   NETWORK_UNAME="oneadmin" ]
> OS=[
>   BOOT="cdrom" ]
>
> Any ideas? Thanks.
>
> cheers
> t.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan



More information about the Users mailing list