aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-05-18 14:00:01 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-05-18 14:01:03 +0200
commit4b4a92bb72697c6f7faa77f2865a14a73330edad (patch)
tree044af83bbb95999debd2545dfbe6549c8faf90e5
parent0608a49f66e4d2d0fe13077144bb949d9e4a7e71 (diff)
Fix mkfs.ext4 path if Cirros 0.5
Change-Id: I22300ceba2c5ab19fe9912a68d2163f32193c976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f5bb9082c59db9cc7bbf0c45edc9fe8d0d6e0903)
-rw-r--r--functest/opnfv_tests/openstack/cinder/write_data.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/cinder/write_data.sh b/functest/opnfv_tests/openstack/cinder/write_data.sh
index 6689309b9..16845ba31 100644
--- a/functest/opnfv_tests/openstack/cinder/write_data.sh
+++ b/functest/opnfv_tests/openstack/cinder/write_data.sh
@@ -15,7 +15,7 @@ echo "VOL_DEV_NAME: $VOL_DEV_NAME"
echo "$(lsblk -l -o NAME)"
if [ ! -z $(lsblk -l -o NAME | grep $VOL_DEV_NAME) ]; then
- sudo /usr/sbin/mkfs.ext4 -F /dev/$VOL_DEV_NAME
+ sudo mkfs.ext4 -F /dev/$VOL_DEV_NAME
sudo mount /dev/$VOL_DEV_NAME $DEST
sudo touch $DEST/new_data
if [ -f $DEST/new_data ]; then