Skip to content

Commit

Permalink
is this enough?
Browse files Browse the repository at this point in the history
  • Loading branch information
shinohara-rin committed May 3, 2024
1 parent 71565ea commit 48a626c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31125,7 +31125,7 @@ function setup_sshkey(pubkey, qemu_process, ready_callback) {
qemu_process.stdin.write("echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config\n");
qemu_process.stdin.write(`cat > /root/.ssh/authorized_keys <<<"${pubkeyContent}"\n`);
qemu_process.stdin.write(`cat /root/.ssh/authorized_keys`);
}, 3000);
}, 10000);
setTimeout(() => { ready_callback(qemu_process) }, 2000);
// let waitForKey = (() => {
// let concat = ''
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function setup_sshkey(pubkey, qemu_process, ready_callback) {
qemu_process.stdin.write("echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config\n");
qemu_process.stdin.write(`cat > /root/.ssh/authorized_keys <<<"${pubkeyContent}"\n`);
qemu_process.stdin.write(`cat /root/.ssh/authorized_keys`);
}, 3000);
}, 10000);
setTimeout(() => { ready_callback(qemu_process) }, 2000);
// let waitForKey = (() => {
// let concat = ''
Expand Down

0 comments on commit 48a626c

Please sign in to comment.