mirror of
https://github.com/rancher/rke.git
synced 2025-08-02 07:43:04 +00:00
Set 644 on cloud-config
This commit is contained in:
parent
44d921b114
commit
ecd92ceff6
@ -41,7 +41,7 @@ func doDeployConfigFile(ctx context.Context, host *hosts.Host, cloudConfig, alpi
|
||||
Cmd: []string{
|
||||
"sh",
|
||||
"-c",
|
||||
fmt.Sprintf("t=$(mktemp); echo -e \"$%s\" > $t && mv $t %s", CloudConfigEnv, CloudConfigPath),
|
||||
fmt.Sprintf("t=$(mktemp); echo -e \"$%s\" > $t && mv $t %s && chmod 644 %s", CloudConfigEnv, CloudConfigPath, CloudConfigPath),
|
||||
},
|
||||
Env: containerEnv,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user