This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DLAB-1864
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 982e199e07b01f773c1cfd215c23c36e058b8e96
Author: leonidfrolov <frolovl...@gmail.com>
AuthorDate: Thu Aug 27 16:59:53 2020 +0300

    [DLAB-1864]: fixed error. single quote was in the wrong place
---
 infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py 
b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index 34c65ce..06d8d47 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1232,7 +1232,7 @@ def prepare_disk(os_user):
                     disk_name = sudo("lsblk | grep disk | awk '{print $1}' | 
sort | tail -n 1")
                     with settings(warn_only=True):
                         sudo('umount -l /dev/{}1'.format(disk_name))
-                    sudo('''bash -c 'echo -e "o\nn\np\n1\n\n\nw" | fdisk 
/dev/{}' 2>&1 | tee /tmp/tee.tmp '''.format(
+                    sudo('''bash -c 'echo -e "o\nn\np\n1\n\n\nw" | fdisk 
/dev/{} 2>&1 | tee /tmp/tee.tmp' '''.format(
                         disk_name), warn_only=True)
                     out = sudo('cat /tmp/tee.tmp')
                     if 'Syncing disks' in out:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to