Correction de la création du disque vide.

L'option --fstype n'existe plus dans la version 5.0.2 d'OpenNebula

ref #17054 @30m
This commit is contained in:
Philippe Caseiro 2016-09-08 10:13:56 +02:00
parent d10c0d1dbc
commit c3fd2fe948
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ TMPLDESC="Modèle de VM permettant d'installer un module EOLE ${VERSIONISO} 64 b
if ! oneimage show "${DISKNAME}" &>/dev/null
then
echo "***** Création de ${DISKNAME} *****"
oneimage create -d $(CreoleGet one_ds_image_name) --name "${DISKNAME}" --type DATABLOCK --description "${DISKDESC}" --size $((${DISKSIZE}*1024)) --prefix vd --driver qcow2 --fstype qcow2
oneimage create -d $(CreoleGet one_ds_image_name) --name "${DISKNAME}" --type DATABLOCK --description "${DISKDESC}" --size $((${DISKSIZE}*1024)) --prefix vd --driver qcow2
oneimage chtype "${DISKNAME}" OS
else
echo "***** ${DISKNAME} existe déjà *****"