]> git.datanom.net - omvzfs.git/blobdiff - src/Utils.php
Fix parted command to run in scripted mode.
[omvzfs.git] / src / Utils.php
index 4ccf60f8f58b776dbcd48814d51ae7419040bb5f..43a83b1c86828e54329f27cd66be24c4d44ee881 100644 (file)
@@ -17,7 +17,7 @@ class OMVModuleZFSUtil {
         *
         */
        public static function setGPTLabel($disk) {
-               $cmd = "parted " . $disk . " mklabel gpt 2>&1";
+               $cmd = "parted -s " . $disk . " mklabel gpt 2>&1";
                OMVModuleZFSUtil::exec($cmd,$out,$res);
        }
 
This page took 0.055101 seconds and 5 git commands to generate.