fix(firecracker): restore agent home ownership at boot
test / integration-docker (pull_request) Successful in 20s
tracker-policy-pr / check-pr (pull_request) Successful in 20s
test / unit (pull_request) Successful in 40s
lint / lint (push) Successful in 55s
test / integration-firecracker (pull_request) Successful in 4m29s
test / coverage (pull_request) Failing after 16s
test / publish-infra (pull_request) Has been skipped
test / integration-docker (pull_request) Successful in 20s
tracker-policy-pr / check-pr (pull_request) Successful in 20s
test / unit (pull_request) Successful in 40s
lint / lint (push) Successful in 55s
test / integration-firecracker (pull_request) Successful in 4m29s
test / coverage (pull_request) Failing after 16s
test / publish-infra (pull_request) Has been skipped
This commit is contained in:
@@ -267,6 +267,8 @@ class AgentProvider(ABC):
|
||||
# runtime, after every backend's copy/export path has completed.
|
||||
git_xdg_dir = f"{plan.guest_home}/.config/git"
|
||||
repair = bottle.exec(
|
||||
f"chown node:node {shlex.quote(plan.guest_home)} && "
|
||||
f"chmod 755 {shlex.quote(plan.guest_home)} && "
|
||||
f"mkdir -p {shlex.quote(git_xdg_dir)} && "
|
||||
f"chown -R node:node {shlex.quote(f'{plan.guest_home}/.config')} && "
|
||||
f"chmod -R u+rwX,go+rX {shlex.quote(f'{plan.guest_home}/.config')}",
|
||||
|
||||
Reference in New Issue
Block a user