Skip to content

Commit

Permalink
Fix: Additional double quotes required to pass in --ostype
Browse files Browse the repository at this point in the history
KubuQA.sh: eval: line 126: syntax error near unexpected token `('
KubuQA.sh: eval: line 126: `VBoxManage modifyvm "TestKubuntuInstall" --acpi on --nic1 nat --cpus="2" --memory="2048" --vram="64" --ostype=Ubuntu (64-bit) --paravirtprovider=none'
  • Loading branch information
Rick Timmis committed Apr 19, 2024
1 parent abe5a96 commit 26e6dd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion KubuQA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ check_existing_vm(){
# Check version and call the command with the correct parameters
if [ "$vbox_version" -lt 7 ]; then
# Version 6
eval "$base_cmd" --ostype="Ubuntu (64-bit)" --paravirtprovider="$PARAVIRT"

eval "$base_cmd" --ostype="\"Ubuntu (64-bit)\"" --paravirtprovider="$PARAVIRT"
else
# Version 7 or higher
eval "$base_cmd" --os-type="Ubuntu_64" --paravirt-provider="$PARAVIRT"
Expand Down

0 comments on commit 26e6dd3

Please sign in to comment.