Skip to content

Commit

Permalink
[backend] pass --vmdisk-mount-options in a sane way
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Feb 9, 2017
1 parent b6cb260 commit cf70d1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backend/bs_worker
Original file line number Diff line number Diff line change
Expand Up @@ -2799,8 +2799,7 @@ sub dobuild {
push @args, '--vmdisk-rootsize', $vmdisk_rootsize if $vmdisk_rootsize;
push @args, '--vmdisk-swapsize', $vmdisk_swapsize if $vmdisk_swapsize;
push @args, '--vmdisk-filesystem', $vmdisk_filesystem if $vmdisk_filesystem;
# mount options require quoting due to arguments which might start with "-o ..."
push @args, '--vmdisk-mount-options', "\"$vmdisk_mount_options\"" if $vmdisk_mount_options;
push @args, "--vmdisk-mount-options=$vmdisk_mount_options" if $vmdisk_mount_options;
push @args, '--vmdisk-clean'if $vmdisk_clean;
push @args, '--hugetlbfs', $hugetlbfs if $hugetlbfs;
push @args, '--vm-worker', $vm_worker_name if $vm_worker_name;
Expand Down

0 comments on commit cf70d1e

Please sign in to comment.