mirror of https://github.com/apache/cloudstack.git
Summary: Fix logic error
Should if "if the username is not cloud AND developer is not true, then report an error"
This commit is contained in:
parent
c6916ff4e0
commit
4764f98866
|
|
@ -549,7 +549,7 @@ public class ConfigurationServerImpl implements ConfigurationServer {
|
|||
|
||||
String username = System.getProperty("user.name");
|
||||
Boolean devel = Boolean.valueOf(_configDao.getValue("developer"));
|
||||
if (!username.equalsIgnoreCase("cloud") || !devel) {
|
||||
if (!username.equalsIgnoreCase("cloud") && !devel) {
|
||||
s_logger.warn("Systemvm keypairs could not be set. Management server should be run as cloud user, or in development mode.");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue