Restrict VM mount to ~/dev instead of entire home directory
This commit is contained in:
parent
ef554b694e
commit
a438391d70
|
|
@ -15,7 +15,7 @@ export async function ensure(): Promise<void> {
|
||||||
|
|
||||||
// Create from scratch
|
// Create from scratch
|
||||||
const home = homedir()
|
const home = homedir()
|
||||||
await $`limactl create --name=${VM_NAME} --mount=${home}:w --mount-writable template:ubuntu-24.04`.quiet()
|
await $`limactl create --name=${VM_NAME} --mount=${home}/dev:w template:ubuntu-24.04`.quiet()
|
||||||
await $`limactl start ${VM_NAME}`.quiet()
|
await $`limactl start ${VM_NAME}`.quiet()
|
||||||
|
|
||||||
// Provision
|
// Provision
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user