Remove double quotes form custom_actions flag to avoid parsing issues.
Bug: b/266658012
Test: Create fordable instance locally .
Change-Id: Ic509a6238a909536455af1391a9e2ed93d086c43
diff --git a/host/commands/cvd/parser/instance/cf_vm_configs.cpp b/host/commands/cvd/parser/instance/cf_vm_configs.cpp
index 7c7ad0e..1533490 100644
--- a/host/commands/cvd/parser/instance/cf_vm_configs.cpp
+++ b/host/commands/cvd/parser/instance/cf_vm_configs.cpp
@@ -101,11 +101,11 @@
mapped_text =
android::base::StringReplace(mapped_text, "\"", "\\\"", true);
std::stringstream buff;
- buff << "--custom_actions=\"" << mapped_text << "\"";
+ buff << "--custom_actions=" << mapped_text;
result.emplace_back(buff.str());
} else {
// custom_actions parameter doesn't exist in the configuration file
- result.emplace_back("--custom_actions=\"unset\"");
+ result.emplace_back("--custom_actions=unset");
}
}
return result;