mirror of https://github.com/apache/jclouds.git
bug where an init script ran without root privs finds the wrong path
This commit is contained in:
parent
0b4347772b
commit
bc103209db
|
@ -201,7 +201,7 @@ public class RunScriptOnNodeAsInitScriptUsingSsh implements RunScriptOnNode {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String execScriptAsDefaultUser(String action) {
|
protected String execScriptAsDefaultUser(String action) {
|
||||||
return "./" + initFile + " " + action;
|
return "./" + init.getInstanceName() + " " + action;
|
||||||
}
|
}
|
||||||
|
|
||||||
public NodeMetadata getNode() {
|
public NodeMetadata getNode() {
|
||||||
|
|
Loading…
Reference in New Issue