Skip to content

Commit

Permalink
Remove existing vtunnel rc files
Browse files Browse the repository at this point in the history
Signed-off-by: Nino Kodabande <[email protected]>
  • Loading branch information
Nino-K committed Aug 20, 2024
1 parent 82f098c commit f78888d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ Runas
runbook
runc
rundir
runlevels
RUnlock
runtimeclass
runtimeclasses
Expand Down
2 changes: 2 additions & 0 deletions pkg/rancher-desktop/backend/wsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,8 @@ export default class WSLBackend extends events.EventEmitter implements VMBackend
await this.execCommand({ root: true }, 'rm', '-f', obsoleteImageAllowListConf);
}),
await this.progressTracker.action('Rancher Desktop guest agent', 50, this.installGuestAgent(kubernetesVersion, this.cfg)),
// Remove any residual rc artifacts from previous versions when vtunnel was installed
await this.execCommand({ root: true }, 'rm', '-f', '/etc/init.d/vtunnel-peer', '/etc/runlevels/default/vtunnel-peer'),
]);

await this.writeFile('/usr/local/bin/wsl-exec', WSL_EXEC, 0o755);
Expand Down

0 comments on commit f78888d

Please sign in to comment.