Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Jan 19, 2024
1 parent 28141b6 commit 12d2f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function run() {
if (process.platform === 'linux') {
// enable KVM for linux runners to make use of hardware acceleration
// await exec.exec(`${__dirname}/enable-kvm.sh`);
await exec.exec(`sh -c \\"echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules"`);
await exec.exec(`sh -c echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules`);
await exec.exec(`sudo udevadm control --reload-rules`);
await exec.exec(`sudo udevadm trigger --name-match=kvm`);
try {
Expand Down

0 comments on commit 12d2f48

Please sign in to comment.