Bug #4137

fix mkfs calling in scripts_common.sh

Added by Anton Todorov over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:11/05/2015
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Drivers - Storage
Target version:Release 4.14.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

Created to track the PR for the following forum discussion:

https://forum.opennebula.org/t/mkfs-on-block-devices/1422

Associated revisions

Revision 584aca53
Added by Anton Todorov over 5 years ago

bug-4137 enable possibility to predefine variables

This is proposition for a general solution for solving bug #4137

For example on CentOS 7 to create XFS filesystem on block device set in the environment or befo the script is called:

MKFS="sudo /sbin/mkfs"

Revision ebc8b986
Added by Anton Todorov over 5 years ago

bug-4137 enable possibility to predefine variables

This is proposition for a general solution for solving bug #4137

For example on CentOS 7 to create XFS filesystem on block device set in the environment or befo the script is called:

MKFS="sudo /sbin/mkfs"

(cherry picked from commit 584aca535bf9835c0b4c9aa2c892f36a7b312fcf)

History

#1 Updated by Anton Todorov over 5 years ago

  • % Done changed from 0 to 100

Here is my proposition for general solution for the issue.

https://github.com/OpenNebula/one/pull/74

Kind Regards,
Anton Todorov

#2 Updated by Javi Fontan over 5 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Cherry pick to one-4.14 and master branches.

Also available in: Atom PDF