Home
last modified time | relevance | path

Searched refs:config_commands (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/libs/vm_manager/
Dhost_configuration.cpp33 const std::string& group, std::vector<std::string>* config_commands) { in UserInGroup() argument
36 config_commands->push_back("# Add your user to the " + group + " group:"); in UserInGroup()
37 config_commands->push_back("sudo usermod -aG " + group + " $USER"); in UserInGroup()
61 std::vector<std::string>* config_commands, in LinuxVersionAtLeast() argument
70 config_commands->push_back("# Please upgrade your kernel to >=" + in LinuxVersionAtLeast()
78 bool ValidateHostConfiguration(std::vector<std::string>* config_commands) { in ValidateHostConfiguration() argument
80 (void)config_commands; in ValidateHostConfiguration()
91 auto in_cvdnetwork = UserInGroup("cvdnetwork", config_commands); in ValidateHostConfiguration()
98 auto linux_ver_4_4 = LinuxVersionAtLeast(config_commands, version, 4, 4); in ValidateHostConfiguration()
103 auto in_kvm = UserInGroup("kvm", config_commands); in ValidateHostConfiguration()
[all …]
Dhost_configuration.h24 bool ValidateHostConfiguration(std::vector<std::string>* config_commands);
/device/google/cuttlefish/host/commands/run_cvd/
Dvalidate.cpp59 std::vector<std::string> config_commands; in ValidateHostConfiguration() local
60 CF_EXPECTF(vm_manager::ValidateHostConfiguration(&config_commands), in ValidateHostConfiguration()
64 fmt::join(config_commands, "\n")); in ValidateHostConfiguration()