Allow creation of "Empty disk image" for type OS
Author Name: Stefan Kooman (Stefan Kooman) Original Redmine Issue: 4740, https://dev.opennebula.org/issues/4740 Original Date: 2016-08-23
Currently it's only allowed to create a "Empty disk image" for type "Generic storage datablock". I would like to allow for the creation of "Empty disk image" for type OS as well. It's perfectly possible to create a (empty) OS disk which will be installed later based on an ISO / network install, etc. It's not clear for me why this restriction is in place.
Original Redmine Comment Author Name: Yannick MOLINET (Yannick MOLINET) Original Date: 2016-08-25T14:01:12Z
You can use datablock to install your OS and change the type after (it's what I done).
Original Redmine Comment Author Name: Stefan Kooman (Stefan Kooman) Original Date: 2016-08-25T14:21:29Z
@Yannick Molinet: I know, that's what I do as well. But I don't know why this restriction is in place. I want to eliminate this step.
Original Redmine Comment Author Name: EOLE Team (EOLE Team) Original Date: 2016-08-26T11:28:20Z
Stefan Kooman wrote:
@Yannick Molinet: I know, that's what I do as well. But I don't know why this restriction is in place. I want to eliminate this step.
+1
It's quite disturbing for now comers to OpenNebula, I explained the procedure several times.
Regards.
Original Redmine Comment Author Name: Guillaume Oberlé (Guillaume Oberlé) Original Date: 2016-08-30T21:24:46Z
Since we can easily change the boot order of VMs (introduced with 5.0) the difference between an OS and a DATABLOCK image is at best informative. Maybe we should consider removing the OS data block type and consider to keep only the traditional data block and the CDROM type ?
PR https://github.com/OpenNebula/one/pull/2537