File tree 1 file changed +5
-7
lines changed
pkg/controller/kubedirectorcluster
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -89,16 +89,14 @@ const (
89
89
rm -rf /opt/guestconfig/appconfig.tgz`
90
90
appPrepConfigStatus = "/opt/guestconfig/configure.status"
91
91
appPrepConfigRunCmd = `rm -f /opt/guestconfig/configure.* &&
92
- echo -n %s= > ` + appPrepConfigStatus + ` &&
93
- nohup sh -c "` + appPrepStartscript + ` --configure;
94
- echo -n $? >> ` + appPrepConfigStatus + `" > /opt/guestconfig/configure.stdout
95
- 2> /opt/guestconfig/configure.stderr &`
92
+ echo -n %s= > ` + appPrepConfigStatus + ` &&
93
+ nohup sh -c '` + appPrepStartscript + ` --configure 2>/opt/guestconfig/configure.stderr 1>/opt/guestconfig/configure.stdout;
94
+ echo -n $? >> ` + appPrepConfigStatus + `' &`
96
95
fileInjectionCommand = `mkdir -p %s && cd %s &&
97
96
curl -L %s -o %s`
98
97
appPrepConfigReconnectCmd = `echo -n %s= > ` + appPrepConfigStatus + ` &&
99
- nohup sh -c "` + appPrepStartscript + ` --reconnect;
100
- echo -n $? >> ` + appPrepConfigStatus + `" >> /opt/guestconfig/configure.stdout
101
- 2>> /opt/guestconfig/configure.stderr &`
98
+ nohup sh -c '` + appPrepStartscript + ` --reconnect 2>/opt/guestconfig/configure.stderr 1>/opt/guestconfig/configure.stdout;
99
+ echo -n $? >> ` + appPrepConfigStatus + `' &`
102
100
)
103
101
104
102
const (
You can’t perform that action at this time.
0 commit comments